feat: Replaced ports with env variables

This commit is contained in:
2026-06-11 08:42:13 +00:00
parent a3592181ec
commit fcb6ab65cc

View File

@@ -6,9 +6,9 @@ services:
env_file: env_file:
- .env - .env
ports: ports:
- 880:80 - "${NPM_HTTP_PORT}:80"
- 81:81 - "${NPM_ADMIN_PORT}:81"
- 8443:443 - "${NPM_HTTPS_PORT}:443"
volumes: volumes:
- ${NGINX_DATA}:/data - ${NGINX_DATA}:/data
- ${NGINX_LETSENCRYPT}:/etc/letsencrypt - ${NGINX_LETSENCRYPT}:/etc/letsencrypt