1
0
Files
nginx_proxy_manager/compose.yml
Kappeh 746c108b4e
All checks were successful
Deploy / Deploy (push) Successful in 15s
Add nginx_proxy_manager container
2026-02-11 16:50:32 +00:00

40 lines
980 B
YAML

services:
nginx_proxy_manager:
image: jlesage/nginx-proxy-manager:v25.09.1
user: 2021:2021 # nginx_proxy_manager:nginx_proxy_manager
restart: unless-stopped
depends_on:
init:
condition: service_completed_successfully
restart: true
networks:
- nginx_proxy_manager_network
ports:
- 80:80 # Public HTTP Port
- 443:443 # Public HTTPS Port
- 8181:8181 # Admin Web UI
- 8448:8448 # Matrix Federation Port
volumes:
- config:/config:rw
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
networks:
nginx_proxy_manager_network:
driver: bridge
volumes:
config: