Env improved
This commit is contained in:
4
.env
4
.env
@@ -1 +1,5 @@
|
|||||||
|
HOST_HTTP_PORT=80
|
||||||
|
HOST_HTTPS_PORT=443
|
||||||
|
NGINX_HTTP_PORT=8888
|
||||||
|
NGINX_HTTPS_PORT=8843
|
||||||
PHP_VERSIONS=7.2 7.1 # Set this without quotes!
|
PHP_VERSIONS=7.2 7.1 # Set this without quotes!
|
||||||
|
@@ -2,8 +2,8 @@ services:
|
|||||||
nginx-srv:
|
nginx-srv:
|
||||||
image: eroncero/nginx-srv
|
image: eroncero/nginx-srv
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8888:80"
|
- "127.0.0.1:${NGINX_HTTP_PORT}:${HOST_HTTP_PORT}"
|
||||||
- "[::1]:8843:443"
|
- "[::1]:${NGINX_HTTPS_PORT}:${HOST_HTTPS_PORT}"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx-srv/sites-available:/etc/nginx/sites-available
|
- ./nginx-srv/sites-available:/etc/nginx/sites-available
|
||||||
|
Reference in New Issue
Block a user