19 Commits
Author SHA1 Message Date
tobbbs 49e16ac93f Update compose.yaml 2026-07-21 16:04:31 +02:00
tobbbs de1ba81f03 Update compose.yaml 2026-07-21 15:59:34 +02:00
tobbbs 42ccc76650 Update compose.yaml 2026-07-21 15:34:58 +02:00
tobbbs f1d2b4b252 Update compose.yaml 2026-07-21 15:20:15 +02:00
tobbbs 7c5c0f0207 Update compose.yaml 2026-07-21 15:19:30 +02:00
tobbbs c2f2963fdd Update compose.yaml 2026-07-21 15:17:27 +02:00
tobbbs 55cfa6902c Update compose.yaml 2026-07-21 15:10:40 +02:00
tobbbs 9531ab3f71 Update compose.yaml 2026-07-21 15:09:58 +02:00
tobbbs fed12570e9 Update compose.yaml 2026-07-21 15:08:20 +02:00
tobbbs 2468d3a791 Update compose.yaml 2026-07-21 15:04:20 +02:00
tobbbs 21ca2e487a Update compose.yaml 2026-07-21 14:59:24 +02:00
tobbbs b4f424ee1b Update compose.yaml 2026-07-21 14:51:11 +02:00
tobbbs 59ef145673 Update compose.yaml 2026-07-21 14:44:42 +02:00
tobbbs 79f6d07ce5 Update compose.yaml 2026-07-21 14:38:57 +02:00
tobbbs ae1f7d3ecb Delete .env 2026-07-21 14:34:33 +02:00
tobbbs ee0451a9a9 Update compose.yaml 2026-07-21 14:34:29 +02:00
tobbbs 386b551347 Update .env 2026-07-21 13:52:12 +02:00
tobbbs 8e101cd112 Add .env 2026-07-21 13:34:09 +02:00
tobbbs 71bce0931e Add compose.yaml 2026-07-21 13:33:09 +02:00
+39 -54
View File
@@ -1,63 +1,48 @@
name: pangolin
services:
pangolin:
image: docker.io/fosrl/pangolin:ee-latest
container_name: pangolin
restart: unless-stopped
deploy:
resources:
limits:
memory: 1g
reservations:
memory: 256m
nginx:
image: "nginx:1.22.0"
container_name: matrix-nginx
restart: "always"
networks:
- hydra-local
volumes:
- /opt/pangolin/config:/app/config
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
- /opt/02_messaging/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf:ro
synapse:
image: docker.io/matrixdotorg/synapse:latest
container_name: matrix-synapse
restart: unless-stopped
networks:
- hydra-local
environment:
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
volumes:
- /opt/02_messaging/synapse:/data
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
- synapse_db
traefik:
image: docker.io/traefik:latest
container_name: traefik
synapse_db:
image: docker.io/postgres:14-alpine
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
container_name: matrix-synapse-db
networks:
- hydra-local
environment:
- POSTGRES_USER=synapse
- POSTGRES_PASSWORD=aComplexPassphraseNobodyCanGuess
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
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
- /opt/02_messaging/postgres:/var/lib/postgresql/data
mautrix-whatsapp:
container_name: mautrix-whatsapp
image: dock.mau.dev/mautrix/whatsapp:latest
restart: unless-stopped
networks:
- hydra-local
volumes:
- /opt/02_messaging/bridges/whatsapp:/data
networks:
default:
driver: bridge
name: pangolin
enable_ipv6: true
hydra-local:
external: true