Skip to content

Commit 8ce7052

Browse files
authored
Update docker-compose.yml
add PUID and PGID envs
1 parent 45af4ee commit 8ce7052

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/nginx-proxy-manager/docker-compose.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ services:
55
container_name: npm
66
environment:
77
- TZ=Europe/Berlin
8+
- PUID=1000 # see https://nginxproxymanager.com/advanced-config/
9+
- PGID=1000 # see https://nginxproxymanager.com/advanced-config/
810
hostname: npm
9-
user: 0:1000
1011
#networks:
1112
# - npm_proxy
1213
image: jc21/nginx-proxy-manager:latest
1314
ports:
14-
- 443:443/tcp # HTTPS
15-
- 81:81/tcp # MGMT UI
1615
- 80:80/tcp # HTTP
16+
- 443:443/tcp # HTTPS
17+
- 81:81/tcp # MGMT UI, do not expose publicly
1718
restart: unless-stopped
1819
healthcheck:
1920
test: ["CMD", "/bin/check-health"]

0 commit comments

Comments
 (0)