1
0
Files
nginx_proxy_manager/compose.yml
Kappeh 408d945bb4
All checks were successful
Deploy / Deploy (push) Successful in 14s
Enable docker image update notifications
2026-02-20 19:38:14 +00:00

52 lines
1.2 KiB
YAML

services:
nginx_proxy_manager:
image: jlesage/nginx-proxy-manager:v25.09.1
restart: unless-stopped
depends_on:
init:
condition: service_completed_successfully
restart: true
environment:
USER_ID: "2021" # nginx_proxy_manager
GROUP_ID: "2021" # nginx_proxy_manager
LANG: "en_GB.UTF-8"
TZ: "Etc/UTC"
networks:
- nginx_proxy_manager_network
ports:
- 80:8080 # Public HTTP Port
- 443:4443 # Public HTTPS Port
- 8181:8181 # Admin Web UI
- 8448:8448 # Matrix Federation Port
volumes:
- config:/config:rw
labels:
diun.enable: "true"
diun.watch_repo: "true"
diun.include_tags: "latest"
init:
image: busybox:1.37.0
user: root:root
command: /init.sh
restart: no
network_mode: none
volumes:
- ./init.sh:/init.sh:ro
# Used for resolving user and group names within the init script
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
# Mount all named volumes so they can be initialised
- config:/config:rw
labels:
diun.enable: "true"
diun.watch_repo: "true"
diun.include_tags: "latest"
networks:
nginx_proxy_manager_network:
driver: bridge
volumes:
config: