diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 8ba05271cd..1a6b53847a 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -54,6 +54,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) diff --git a/docs/docker-images/nodejs.md b/docs/docker-images/nodejs.md new file mode 100644 index 0000000000..a60c16d797 --- /dev/null +++ b/docs/docker-images/nodejs.md @@ -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 | diff --git a/docs/docker-images/php-fpm.md b/docs/docker-images/php-fpm.md index 77d0463c83..a119fa3b01 100644 --- a/docs/docker-images/php-fpm.md +++ b/docs/docker-images/php-fpm.md @@ -19,10 +19,14 @@ This Dockerfile is intended to be used as a base for any `PHP` needs within Lago * 7.2 \(available for compatibility, no longer officially supported\) * 7.3 [\[Dockerfile\]](https://github.com/uselagoon/lagoon-images/blob/main/images/php-fpm/7.3.Dockerfile) * 7.4 [\[Dockerfile\]](https://github.com/uselagoon/lagoon-images/blob/main/images/php-fpm/7.4.Dockerfile) -* 8.0 \(coming soon\) +* 8.0 [\[Dockerfile\]](https://github.com/uselagoon/lagoon-images/blob/main/images/php-fpm/8.0.Dockerfile) All PHP versions use their own Dockerfiles. +{% hint style="info" %} +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 %} + ## Lagoon adaptions This image is prepared to be used on Lagoon. There are therefore some things are already done: @@ -52,9 +56,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`\).