Env improved

This commit is contained in:
eroncero
2025-08-03 17:56:45 +02:00
parent 7b673ca598
commit 24bdc06190
2 changed files with 6 additions and 2 deletions

4
.env
View File

@@ -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!

View File

@@ -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