Add Pangolin and newt agent

This commit is contained in:
2026-04-29 21:18:03 +05:30
parent 44ecb565b7
commit 310d542630
3 changed files with 121 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
name: pangolin
services:
pangolin:
container_name: pangolin
image: ghcr.io/fosrl/pangolin:1.16.2
restart: unless-stopped
deploy:
resources:
limits:
memory: 1g
reservations:
memory: 256m
volumes:
- ./config:/app/config
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/"]
interval: "10s"
timeout: "10s"
retries: 15
traefik:
container_name: traefik
image: ghcr.io/traefik/traefik:3.6.10
restart: unless-stopped
depends_on:
pangolin:
condition: service_healthy
command:
- --configFile=/etc/traefik/traefik_config.yml
environment:
- CLOUDFLARE_DNS_API_TOKEN=${CLOUDFLARE_DNS_API_TOKEN}
volumes:
- ./config/traefik:/etc/traefik:ro # Volume to store the Traefik configuration
- ./config/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates
- ./config/traefik/logs:/var/log/traefik # Volume to store Traefik logs
ports:
- 443:443
- 80:80
- 22:22
- 2222:2222
networks:
default:
driver: bridge
name: pangolin