11name : pangolin
22services :
33 pangolin :
4- image : fosrl/pangolin-node:latest
5- container_name : pangolin-node
4+ image : docker.io/ fosrl/pangolin-node:latest
5+ container_name : pangolin
66 restart : unless-stopped
77 volumes :
88 - ./config:/app/config
9+ - pangolin-data-certificates:/var/certificates
10+ - pangolin-data-dynamic:/var/dynamic
911 healthcheck :
1012 test : ["CMD", "curl", "-f", "http://localhost:3001/api/v1/"]
11- interval : " 3s "
12- timeout : " 3s "
13+ interval : " 10s "
14+ timeout : " 10s "
1315 retries : 15
1416
1517 gerbil :
16- image : fosrl/gerbil:latest
18+ image : docker.io/ fosrl/gerbil:latest
1719 container_name : gerbil
1820 restart : unless-stopped
1921 depends_on :
@@ -31,25 +33,31 @@ services:
3133 ports :
3234 - 51820:51820/udp
3335 - 21820:21820/udp
34- - 443:8443 # Port for traefik because of the network_mode
35- - 80:80 # Port for traefik because of the network_mode
36+ - 443:8443
37+ - 80:80
3638
3739 traefik :
38- image : traefik:v3.5
40+ image : docker.io/ traefik:v3.5
3941 container_name : traefik
4042 restart : unless-stopped
41- network_mode : service:gerbil # Ports appear on the gerbil service
43+ network_mode : service:gerbil
4244 depends_on :
4345 pangolin :
4446 condition : service_healthy
4547 command :
4648 - --configFile=/etc/traefik/traefik_config.yml
4749 volumes :
48- - ./config/traefik:/etc/traefik:ro # Volume to store the Traefik configuration
49- - ./config/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates
50+ - ./config/traefik:/etc/traefik:ro
51+ - ./config/traefik/logs:/var/log/traefik
52+ - pangolin-data-certificates:/var/certificates:ro
53+ - pangolin-data-dynamic:/var/dynamic:ro
5054
5155networks :
5256 default :
5357 driver : bridge
5458 name : pangolin
55- enable_ipv6 : true
59+ enable_ipv6 : true
60+
61+ volumes :
62+ pangolin-data-dynamic :
63+ pangolin-data-certificates:
0 commit comments