Sign inSign up

4xxi/nginx

By 4xxi

Updated over 8 years ago

nginx docker image

Image
0

50K+

4xxi/nginx repository overview

Requirements

(!) Must be to set environment variables

ENV=(prod|dev)
WWW_DIR=/var/www/html

Usage

nginx:
  image: 4xxi/nginx
  depends_on:
    - web
  volumes:
    - ./var/logs:/var/log/nginx
    - .:${WWW_DIR}
  ports:
    - "${SERVER_HTTP_PORT}:80"
  environment:
    WWW_DIR: ${WWW_DIR}
    SYMFONY_ENV: ${ENV}

Tag summary

Content type

Image

Digest

Size

6.8 MB

Last updated

over 8 years ago

docker pull 4xxi/nginx