conteneur nginx avec variables d'environnement
821

$ docker pull sebstinkeste/nginx
$ docker run -it sebstinkeste/nginx bash
The default workdir is /var/www/ and the default Nginx Document Root is /usr/share/nginx/html.
The nginx configuration is dynamic.
environment:
FRONTEND_PORT_80_TCP_PORT: "80"
DOCUMENT_ROOT: "/var/www/"
DIRECTORY_INDEX: "index.php index.html"
SERVER_NAME: "localhost"
FASTCGI_INDEX: "index.php"
environment:
FASTCGI_PASS: "{containerName}_php_1:9000"
PHPFPM: "{containerName}_php_1:9000"
[DEPRECATED] Future versions of Docker will not support links - you should remove them for forwards-compatibility.
Content type
Image
Digest
Size
52.7 MB
Last updated
over 10 years ago
docker pull sebstinkeste/nginx