Added NGINX from env file and updated env-example

This commit is contained in:
Marius van Zundert 2017-02-27 14:11:16 +01:00
parent c112fdffc1
commit 356dc36fd5
2 changed files with 5 additions and 6 deletions

View File

@ -83,8 +83,8 @@ services:
volumes_from:
- applications
volumes:
- ./logs/nginx/:/var/log/nginx
- ./nginx/sites/:/etc/nginx/sites-available
- ${NGINX_HOST_LOG_PATH}:/var/log/nginx
- ${NGINX_SITES_PATH}:/etc/nginx/sites-available
ports:
- "80:80"
- "443:443"

View File

@ -39,7 +39,6 @@ WORKSPACE_NODE_VERSION=stable
WORKSPACE_TIMEZONE=UTC
WORKSPACE_SSH_PORT=2222
# PHP_FPM
PHP_FPM_DOCKER_FILE=Dockerfile-70
PHP_FPM_INSTALL_XDEBUG=false
@ -55,11 +54,11 @@ PHP_FPM_INSTALL_AEROSPIKE_EXTENSION=false
PHP_FPM_CODEIGNITER=falses
# NGINX
NGINX_BUILD_PATH=./nginx
NGINX_CONTAINER_NAME=nginx
NGINX_HOST_HTTP_PORT=8080
NGINX_HOST_HTTPS_PORT=8433
NGINX_HOST_LOG_PATH=./logs/nginx/
NGINX_SITES_PATH=./nginx/sites/
# APACHE