Update docker-compose.yml

add PUID and PGID envs
This commit is contained in:
LRVT 2024-01-15 14:40:00 +01:00 committed by GitHub
parent 45af4ee552
commit 8ce7052147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,15 +5,16 @@ services:
container_name: npm
environment:
- TZ=Europe/Berlin
- PUID=1000 # see https://nginxproxymanager.com/advanced-config/
- PGID=1000 # see https://nginxproxymanager.com/advanced-config/
hostname: npm
user: 0:1000
#networks:
# - npm_proxy
image: jc21/nginx-proxy-manager:latest
ports:
- 443:443/tcp # HTTPS
- 81:81/tcp # MGMT UI
- 80:80/tcp # HTTP
- 443:443/tcp # HTTPS
- 81:81/tcp # MGMT UI, do not expose publicly
restart: unless-stopped
healthcheck:
test: ["CMD", "/bin/check-health"]