Sign inSign up

turfdev/nginx

By turfdev

Updated over 3 years ago

Image
0

87

turfdev/nginx repository overview

Container image for nginx

The environment variables:

  1. DOMAIN Used for your domain name
  2. DOC_ROOT Used for the document root of the domain
  3. FPM_HOST (optional) Used to connect your php-fpm container
How to run the nginx container:

sudo docker run -it -p 80:80 -e DOC_ROOT=/var/www/domain.com -e DOMAIN=domain.com -e FPM_HOST=fpm_service -d turfdev/nginx:latest

Tag summary

Content type

Image

Digest

sha256:11c28ee14

Size

78.2 MB

Last updated

over 3 years ago

docker pull turfdev/nginx