Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd489ff2ab | ||
|
|
28547d1cf2 | ||
|
|
b3848fad2f | ||
|
|
f707b5de19 | ||
|
|
628e6150c5 | ||
|
|
9f6a612882 |
+14
-60
@@ -1,63 +1,17 @@
|
|||||||
name: pangolin
|
|
||||||
services:
|
services:
|
||||||
pangolin:
|
hawser:
|
||||||
image: docker.io/fosrl/pangolin:ee-latest
|
container_name: hawser
|
||||||
container_name: pangolin
|
volumes:
|
||||||
restart: unless-stopped
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
deploy:
|
- /opt/hawser-stacks:/opt/hawser-stacks
|
||||||
resources:
|
networks:
|
||||||
limits:
|
- hydra-local
|
||||||
memory: 1g
|
environment:
|
||||||
reservations:
|
- STACKS_DIR=/opt/hawser-stacks
|
||||||
memory: 256m
|
- DOCKHAND_SERVER_URL=wss://bragi.doeringer.eu/api/hawser/connect
|
||||||
volumes:
|
- TOKEN=${TOKEN}
|
||||||
- /opt/pangolin/config:/app/config
|
image: ghcr.io/finsys/hawser:latest
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/"]
|
|
||||||
interval: "10s"
|
|
||||||
timeout: "10s"
|
|
||||||
retries: 15
|
|
||||||
|
|
||||||
gerbil:
|
|
||||||
image: docker.io/fosrl/gerbil:latest
|
|
||||||
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:
|
|
||||||
- /opt/pangolin/config/:/var/config
|
|
||||||
cap_add:
|
|
||||||
- NET_ADMIN
|
|
||||||
- SYS_MODULE
|
|
||||||
ports:
|
|
||||||
- 51820:51820/udp
|
|
||||||
- 21820:21820/udp
|
|
||||||
- 443:443
|
|
||||||
- 443:443/udp # For http3 QUIC if desired
|
|
||||||
- 80:80
|
|
||||||
|
|
||||||
traefik:
|
|
||||||
image: docker.io/traefik:latest
|
|
||||||
container_name: traefik
|
|
||||||
restart: unless-stopped
|
|
||||||
network_mode: service:gerbil # Ports appear on the gerbil service
|
|
||||||
depends_on:
|
|
||||||
pangolin:
|
|
||||||
condition: service_healthy
|
|
||||||
command:
|
|
||||||
- --configFile=/etc/traefik/traefik_config.yml
|
|
||||||
volumes:
|
|
||||||
- /opt/pangolin/config/traefik:/etc/traefik:ro # Volume to store the Traefik configuration
|
|
||||||
- /opt/pangolin/config/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates
|
|
||||||
- /opt/pangolin/config/traefik/logs:/var/log/traefik # Volume to store Traefik logs
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
default:
|
hydra-local:
|
||||||
driver: bridge
|
external: true
|
||||||
name: pangolin
|
|
||||||
enable_ipv6: true
|
|
||||||
Reference in New Issue
Block a user