From bc1c957f4796d5be26b3067e0468fb09f208ea18 Mon Sep 17 00:00:00 2001 From: Vincent Chu Date: Fri, 30 Jun 2017 06:22:55 -0400 Subject: [PATCH] add APACHE_SITES_PATH variable --- docker-compose.yml | 2 +- env-example | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 556e3b9a..699794b7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -149,7 +149,7 @@ services: - applications volumes: - ${APACHE_HOST_LOG_PATH}:/var/log/apache2 - - ./apache2/sites:/etc/apache2/sites-available + - ${APACHE_SITES_PATH}:/etc/apache2/sites-available ports: - "${APACHE_HOST_HTTP_PORT}:80" - "${APACHE_HOST_HTTPS_PORT}:443" diff --git a/env-example b/env-example index f8ca6509..f80de1ea 100644 --- a/env-example +++ b/env-example @@ -85,6 +85,7 @@ APACHE_HOST_HTTP_PORT=80 APACHE_HOST_HTTPS_PORT=443 APACHE2_PHP_SOCKET=php-fpm:9000 APACHE_HOST_LOG_PATH=./logs/apache2 +APACHE_SITES_PATH=./apache2/sites PHP_SOCKET=php-fpm:9000 ### MYSQL ##############################################################################################################