mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-02-17 13:58:12 +00:00
Update docker-compose.yml
add PUID and PGID envs
This commit is contained in:
parent
45af4ee552
commit
8ce7052147
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user