Node.js

The Lagoon node Docker image. Based on the official PHP Alpine images.

Supported Versions

  • 10 - End of Life (EOL) as of 2021-04-30

  • 12

  • 14

We stop updating EOL Node.js images usually with the Lagoon release that comes after the officially communicated EOL date: https://nodejs.org/en/about/releases/.

Lagoon adaptions

We ship 2 versions of Node.js images: the normal node:version image and the node:version-builder.

The builder variant of those images comes with additional tooling that is needed when you run Node.js builds. For a full list check out the Dockerfile.

The default exposed port of node containers is port 3000.

Environment Variables

Environment variables are meant to contain common information for the PHP container.

Environment Variable

Default

Description

LAGOON_LOCALDEV_HTTP_PORT

3000

tells the local development environment on which port we are running