Copied all stacks
This commit is contained in:
69
docker-stacks/khongisa.co.za/docker-compose.yml
Normal file
69
docker-stacks/khongisa.co.za/docker-compose.yml
Normal file
@@ -0,0 +1,69 @@
|
||||
name: pangolin
|
||||
|
||||
networks:
|
||||
proxy_net:
|
||||
driver: bridge
|
||||
|
||||
services:
|
||||
pangolin:
|
||||
image: docker.io/fosrl/pangolin:ee-1.17.0
|
||||
container_name: pangolin
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config:/app/config
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/"]
|
||||
interval: "10s"
|
||||
timeout: "10s"
|
||||
retries: 15
|
||||
networks:
|
||||
- proxy_net
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
memory: 800M
|
||||
limits:
|
||||
memory: 3G
|
||||
|
||||
gerbil:
|
||||
image: docker.io/fosrl/gerbil:1.3.0
|
||||
container_name: gerbil
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
pangolin:
|
||||
condition: service_healthy
|
||||
command:
|
||||
- --reachableAt=http://gerbil:3004
|
||||
- --generateAndSaveKeyTo=/var/config/key
|
||||
- --remoteConfig=http://pangolin:3001/api/v1/
|
||||
volumes:
|
||||
- ./config/:/var/config
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
ports:
|
||||
- 51821:51821/udp
|
||||
- 51820:51820/udp
|
||||
- 21820:21820/udp
|
||||
- 443:443
|
||||
- 80:80
|
||||
networks:
|
||||
- proxy_net
|
||||
|
||||
traefik:
|
||||
image: docker.io/traefik:v3.6
|
||||
container_name: traefik
|
||||
restart: unless-stopped
|
||||
|
||||
network_mode: service:gerbil
|
||||
|
||||
depends_on:
|
||||
pangolin:
|
||||
condition: service_healthy
|
||||
command:
|
||||
- --configFile=/etc/traefik/traefik_config.yml
|
||||
volumes:
|
||||
- ./config/traefik:/etc/traefik:ro
|
||||
- ./config/letsencrypt:/letsencrypt
|
||||
- ./config/traefik/logs:/var/log/traefik
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
Reference in New Issue
Block a user