mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-04-15 09:07:36 +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
|
container_name: npm
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
|
- PUID=1000 # see https://nginxproxymanager.com/advanced-config/
|
||||||
|
- PGID=1000 # see https://nginxproxymanager.com/advanced-config/
|
||||||
hostname: npm
|
hostname: npm
|
||||||
user: 0:1000
|
|
||||||
#networks:
|
#networks:
|
||||||
# - npm_proxy
|
# - npm_proxy
|
||||||
image: jc21/nginx-proxy-manager:latest
|
image: jc21/nginx-proxy-manager:latest
|
||||||
ports:
|
ports:
|
||||||
- 443:443/tcp # HTTPS
|
|
||||||
- 81:81/tcp # MGMT UI
|
|
||||||
- 80:80/tcp # HTTP
|
- 80:80/tcp # HTTP
|
||||||
|
- 443:443/tcp # HTTPS
|
||||||
|
- 81:81/tcp # MGMT UI, do not expose publicly
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "/bin/check-health"]
|
test: ["CMD", "/bin/check-health"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user