fix: Added defaults to ports

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

View File

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