From 75ce46ca04fdbdffde34a377e6d1ee14a00c65fd Mon Sep 17 00:00:00 2001 From: Bastian Widmer Date: Thu, 5 Nov 2020 21:43:14 +0100 Subject: [PATCH 1/8] initial version of node.js container documentation --- docs/docker-images/nodejs.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docs/docker-images/nodejs.md diff --git a/docs/docker-images/nodejs.md b/docs/docker-images/nodejs.md new file mode 100644 index 0000000000..bb324965ae --- /dev/null +++ b/docs/docker-images/nodejs.md @@ -0,0 +1,27 @@ +# Node.js + +The [Lagoon `node` Docker image](https://github.com/amazeeio/lagoon/blob/main/images/node/Dockerfile). Based on [the official PHP Alpine images](https://hub.docker.com/_/php/). + +## Supported Versions + +* 10 - End of Life as of 2021-04-30 +* 12 +* 14 + +{% hint style="info" %} +We stop updating end of life Node.js images usually with the lagoon release after the officialy communicated End of life 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/amazeeio/lagoon/blob/main/images/node/builder/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 | From f0a280942d1d801205ffdab607ab70bb1e6922d7 Mon Sep 17 00:00:00 2001 From: Bastian Widmer Date: Thu, 5 Nov 2020 21:43:39 +0100 Subject: [PATCH 2/8] php - adding EOL hint --- docs/docker-images/php-fpm.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/docker-images/php-fpm.md b/docs/docker-images/php-fpm.md index e5fa41372b..67d371cf29 100644 --- a/docs/docker-images/php-fpm.md +++ b/docs/docker-images/php-fpm.md @@ -16,10 +16,14 @@ This Dockerfile is intended to be used as a base for any `PHP` needs within Lago * 5.6 \(available for compatibility, not officially supported\) * 7.0 \(available for compatibility, not officially supported\) -* 7.2 +* 7.2 \(available for compatibility, not officially supported - End of Support by 30 Nov 2020 \) * 7.3 * 7.4 +{% hint style="info" %} +We stop updating end of life PHP images usually with the lagoon release after the officialy communicated End of life date https://www.php.net/supported-versions.php +{% endhint %} + All PHP versions use the same Dockerfile. ## Lagoon adaptions From 02a4c8adc13b04ec6a95a736272d5a585ef1b561 Mon Sep 17 00:00:00 2001 From: Alanna Burke Date: Thu, 7 Jan 2021 18:49:41 -0500 Subject: [PATCH 3/8] Update nodejs.md --- docs/docker-images/nodejs.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docker-images/nodejs.md b/docs/docker-images/nodejs.md index bb324965ae..29a28d13b4 100644 --- a/docs/docker-images/nodejs.md +++ b/docs/docker-images/nodejs.md @@ -9,15 +9,15 @@ The [Lagoon `node` Docker image](https://github.com/amazeeio/lagoon/blob/main/im * 14 {% hint style="info" %} -We stop updating end of life Node.js images usually with the lagoon release after the officialy communicated End of life date https://nodejs.org/en/about/releases/ +We stop updating end of life Node.js images usually with the Lagoon release that comes after the officialy communicated End of Life 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 +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/amazeeio/lagoon/blob/main/images/node/builder/Dockerfile) +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/amazeeio/lagoon/blob/main/images/node/builder/Dockerfile). -The default exposed port of node containers is Port `3000`. +The default exposed port of node containers is port `3000`. ## Environment Variables Environment variables are meant to contain common information for the PHP container. From 9c6cfd14a3e818653ca3101cf617ce8428d8def9 Mon Sep 17 00:00:00 2001 From: Alanna Burke Date: Thu, 7 Jan 2021 18:53:20 -0500 Subject: [PATCH 4/8] Update php-fpm.md --- docs/docker-images/php-fpm.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/docker-images/php-fpm.md b/docs/docker-images/php-fpm.md index 67d371cf29..024f1cb4e9 100644 --- a/docs/docker-images/php-fpm.md +++ b/docs/docker-images/php-fpm.md @@ -21,7 +21,7 @@ This Dockerfile is intended to be used as a base for any `PHP` needs within Lago * 7.4 {% hint style="info" %} -We stop updating end of life PHP images usually with the lagoon release after the officialy communicated End of life date https://www.php.net/supported-versions.php +We stop updating End of Life (EOL) PHP images usually with the Lagoon release that comes after the officially communicated EOL date: https://www.php.net/supported-versions.php. {% endhint %} All PHP versions use the same Dockerfile. @@ -55,9 +55,7 @@ Also, `php-fpm` error logging happens in `stderr`. **💡 If you don't like any of these configs, you have three possibilities:** 1. If they are changeable via environment variables, use environment variables \(this is the preferred method, see [table of environment variables below](php-fpm.md#environment-variables)\). -2. Create your own `fpm-pool` config and set via `php_admin_value` and - - `php_admin_flag` +2. Create your own `fpm-pool` config and set via `php_admin_value` and `php_admin_flag` 1. Learn more about them in [`this documentation for Running PHP as an Apache module`](https://www.php.net/manual/en/configuration.changes.php). This documentation refers to Apache, but it is also the case for `php-fpm`\). From 40154cc730ae29ca83a235344aa4135e7a5406ea Mon Sep 17 00:00:00 2001 From: Alanna Burke Date: Thu, 7 Jan 2021 18:55:49 -0500 Subject: [PATCH 5/8] Update php-fpm.md --- docs/docker-images/php-fpm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docker-images/php-fpm.md b/docs/docker-images/php-fpm.md index 024f1cb4e9..d52ef372e7 100644 --- a/docs/docker-images/php-fpm.md +++ b/docs/docker-images/php-fpm.md @@ -55,7 +55,7 @@ Also, `php-fpm` error logging happens in `stderr`. **💡 If you don't like any of these configs, you have three possibilities:** 1. If they are changeable via environment variables, use environment variables \(this is the preferred method, see [table of environment variables below](php-fpm.md#environment-variables)\). -2. Create your own `fpm-pool` config and set via `php_admin_value` and `php_admin_flag` +2. Create your own `fpm-pool` config and set via `php_admin_value` and `php_admin_flag`. 1. Learn more about them in [`this documentation for Running PHP as an Apache module`](https://www.php.net/manual/en/configuration.changes.php). This documentation refers to Apache, but it is also the case for `php-fpm`\). From 31f6285ec79f573abacacf39fb73d45cd5fd1f75 Mon Sep 17 00:00:00 2001 From: Alanna Burke Date: Thu, 7 Jan 2021 18:57:29 -0500 Subject: [PATCH 6/8] Update nodejs.md --- docs/docker-images/nodejs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docker-images/nodejs.md b/docs/docker-images/nodejs.md index 29a28d13b4..b0f8272926 100644 --- a/docs/docker-images/nodejs.md +++ b/docs/docker-images/nodejs.md @@ -4,12 +4,12 @@ The [Lagoon `node` Docker image](https://github.com/amazeeio/lagoon/blob/main/im ## Supported Versions -* 10 - End of Life as of 2021-04-30 +* 10 - End of Life (EOL) as of 2021-04-30 * 12 * 14 {% hint style="info" %} -We stop updating end of life Node.js images usually with the Lagoon release that comes after the officialy communicated End of Life date: https://nodejs.org/en/about/releases/. +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 From f26b572dc2f37edd2373cf7850ca17961b849df0 Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Fri, 9 Apr 2021 14:07:16 +1000 Subject: [PATCH 7/8] add nodejs to summary.md --- docs/SUMMARY.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index e40826faf9..49e55e0166 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -69,6 +69,7 @@ * [MariaDB](docker-images/mariadb/README.md) * [MariaDB-Drupal](docker-images/mariadb/mariadb-drupal.md) * [MongoDB](docker-images/mongodb.md) +* [Node.js](docker-images/nodejs.md) * [NGINX](docker-images/nginx/README.md) * [NGINX-Drupal](docker-images/nginx/nginx-drupal.md) * [PHP-CLI](docker-images/php-cli/README.md) From b686a7097b689bbc1d1184e019cc670bc11471c1 Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Fri, 9 Apr 2021 14:13:22 +1000 Subject: [PATCH 8/8] update dockerfile refs to uselagoon namespace --- docs/docker-images/nodejs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docker-images/nodejs.md b/docs/docker-images/nodejs.md index b0f8272926..a60c16d797 100644 --- a/docs/docker-images/nodejs.md +++ b/docs/docker-images/nodejs.md @@ -1,6 +1,6 @@ # Node.js -The [Lagoon `node` Docker image](https://github.com/amazeeio/lagoon/blob/main/images/node/Dockerfile). Based on [the official PHP Alpine images](https://hub.docker.com/_/php/). +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 @@ -15,7 +15,7 @@ We stop updating EOL Node.js images usually with the Lagoon release that comes a ## 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/amazeeio/lagoon/blob/main/images/node/builder/Dockerfile). +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`.