feat: Replaced ports with env variables
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
services:
|
||||
app:
|
||||
image: jc21/nginx-proxy-manager:latest
|
||||
container_name: nginx-proxy-manager
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- 880:80
|
||||
- 81:81
|
||||
- 8443:443
|
||||
volumes:
|
||||
- ${NGINX_DATA}:/data
|
||||
- ${NGINX_LETSENCRYPT}:/etc/letsencrypt
|
||||
healthcheck:
|
||||
test: ["CMD", "/usr/bin/check-health"]
|
||||
interval: 10s
|
||||
services:
|
||||
app:
|
||||
image: jc21/nginx-proxy-manager:latest
|
||||
container_name: nginx-proxy-manager
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "${NPM_HTTP_PORT}:80"
|
||||
- "${NPM_ADMIN_PORT}:81"
|
||||
- "${NPM_HTTPS_PORT}:443"
|
||||
volumes:
|
||||
- ${NGINX_DATA}:/data
|
||||
- ${NGINX_LETSENCRYPT}:/etc/letsencrypt
|
||||
healthcheck:
|
||||
test: ["CMD", "/usr/bin/check-health"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
Reference in New Issue
Block a user