feat: Replaced ports with env variables
This commit is contained in:
@@ -1,18 +1,18 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: jc21/nginx-proxy-manager:latest
|
image: jc21/nginx-proxy-manager:latest
|
||||||
container_name: nginx-proxy-manager
|
container_name: nginx-proxy-manager
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
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
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "/usr/bin/check-health"]
|
test: ["CMD", "/usr/bin/check-health"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
Reference in New Issue
Block a user