-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2313 from amazeeio/documentation-updates-nodjs-php
Documentation updates for Node.js and PHP
- Loading branch information
Showing
3 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Node.js | ||
|
||
The [Lagoon `node` Docker image](https://github.com/uselagoon/lagoon-images/tree/main/images/node). Based on [the official PHP Alpine images](https://hub.docker.com/_/php/). | ||
|
||
## Supported Versions | ||
|
||
* 10 - End of Life (EOL) as of 2021-04-30 | ||
* 12 | ||
* 14 | ||
|
||
{% hint style="info" %} | ||
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/. | ||
{% endhint %} | ||
|
||
## 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](https://github.com/uselagoon/lagoon-images/tree/main/images/node-builder). | ||
|
||
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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters