Public | Automated Build

Last pushed: 10 days ago
Short Description
nginx docker image
Full Description

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}
Docker Pull Command
Owner
4xxi
Source Repository

Comments (0)