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!

View File

@@ -2,8 +2,8 @@ services:
nginx-srv:
image: eroncero/nginx-srv
ports:
- "127.0.0.1:8888:80"
- "[::1]:8843:443"
- "127.0.0.1:${NGINX_HTTP_PORT}:${HOST_HTTP_PORT}"
- "[::1]:${NGINX_HTTPS_PORT}:${HOST_HTTPS_PORT}"
restart: unless-stopped
volumes:
- ./nginx-srv/sites-available:/etc/nginx/sites-available