Compare commits

..

2 Commits

Author SHA1 Message Date
renovate-bot e7b42e4284 Update codeberg.org/forgejo/forgejo Docker tag to v15 2026-04-29 15:50:44 +00:00
ryuupendragon 310d542630 Add Pangolin and newt agent 2026-04-29 21:18:03 +05:30
4 changed files with 122 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
services: services:
forgejo: forgejo:
container_name: forgejo container_name: forgejo
image: codeberg.org/forgejo/forgejo:15.0.0-rootless@sha256:ab6ca32ae0d5af2494b77aa22dd5cd2f24087f4325b396d09188b695ce004e24 image: codeberg.org/forgejo/forgejo:15.0.1-rootless@sha256:4f4d168b4e792d0f73e5f4da0548f3b54b9c9d03fb85f277c97eb985cb9a290a
restart: unless-stopped restart: unless-stopped
user: ${PUID}:${PGID} user: ${PUID}:${PGID}
volumes: volumes:
+10
View File
@@ -0,0 +1,10 @@
services:
newt:
container_name: newt
image: fosrl/newt:1.12.2
restart: unless-stopped
environment:
- PANGOLIN_ENDPOINT=${PANGOLIN_ENDPOINT}
- NEWT_ID=${NEWT_ID}
- NEWT_SECRET=${NEWT_SECRET}
network_mode: host
+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
+66
View File
@@ -0,0 +1,66 @@
name: pangolin
services:
pangolin:
container_name: pangolin
image: ghcr.io/fosrl/pangolin:1.16.2
restart: unless-stopped
volumes:
- ./config:/app/config
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/"]
interval: "10s"
timeout: "10s"
retries: 15
gerbil:
container_name: gerbil
image: ghcr.io/fosrl/gerbil:1.3.0
restart: unless-stopped
depends_on:
pangolin:
condition: service_healthy
command:
- --reachableAt=http://gerbil:3004
- --generateAndSaveKeyTo=/var/config/key
- --remoteConfig=http://pangolin:3001/api/v1/
cap_add:
- NET_ADMIN
- SYS_MODULE
volumes:
- ./config/:/var/config
ports:
- 51820:51820/udp
- 21820:21820/udp
- 443:443
- 80:80
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
network_mode: service:gerbil # Ports appear on the gerbil service
webfinger: # For Tailscale
container_name: webfinger
image: nginx:1.30.0-alpine
volumes:
- ./webfinger/webfinger.json:/usr/share/nginx/html/.well-known/webfinger:ro
- ./webfinger/nginx.conf:/etc/nginx/conf.d/default.conf:ro
restart: unless-stopped
networks:
default:
driver: bridge
name: pangolin
enable_ipv6: true # activate if your system supports IPv6