Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
add PUID and PGID envs
  • Loading branch information
l4rm4nd authored Jan 15, 2024
1 parent 45af4ee commit 8ce7052
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/nginx-proxy-manager/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 8ce7052

Please sign in to comment.