2023-02-15 21:45:31 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
npm:
|
|
|
|
container_name: npm
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/Berlin
|
2024-01-15 13:40:00 +00:00
|
|
|
- PUID=1000 # see https://nginxproxymanager.com/advanced-config/
|
|
|
|
- PGID=1000 # see https://nginxproxymanager.com/advanced-config/
|
2023-02-15 21:45:31 +00:00
|
|
|
hostname: npm
|
2023-02-26 02:23:28 +00:00
|
|
|
#networks:
|
|
|
|
# - npm_proxy
|
2023-02-15 21:45:31 +00:00
|
|
|
image: jc21/nginx-proxy-manager:latest
|
|
|
|
ports:
|
|
|
|
- 80:80/tcp # HTTP
|
2024-01-15 13:40:00 +00:00
|
|
|
- 443:443/tcp # HTTPS
|
|
|
|
- 81:81/tcp # MGMT UI, do not expose publicly
|
2023-02-15 21:45:31 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "/bin/check-health"]
|
|
|
|
interval: 30s
|
|
|
|
timeout: 3s
|
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx-proxy-manager/data:/data
|
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx-proxy-manager/letsencrypt:/etc/letsencrypt
|
2023-02-15 21:45:31 +00:00
|
|
|
|
2023-02-26 02:23:28 +00:00
|
|
|
#networks:
|
|
|
|
# npm_proxy:
|
|
|
|
# external: true
|