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: services:
pangolin: nginx:
image: docker.io/fosrl/pangolin:ee-latest image: "nginx:1.22.0"
container_name: pangolin container_name: matrix-nginx
restart: unless-stopped restart: "always"
deploy: networks:
resources: - hydra-local
limits:
memory: 1g
reservations:
memory: 256m
volumes: volumes:
- /opt/pangolin/config:/app/config - /opt/02_messaging/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/"] synapse:
interval: "10s" image: docker.io/matrixdotorg/synapse:latest
timeout: "10s" container_name: matrix-synapse
retries: 15
gerbil:
image: docker.io/fosrl/gerbil:latest
container_name: gerbil
restart: unless-stopped restart: unless-stopped
networks:
- hydra-local
environment:
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
volumes:
- /opt/02_messaging/synapse:/data
depends_on: depends_on:
pangolin: - synapse_db
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: synapse_db:
image: docker.io/traefik:latest image: docker.io/postgres:14-alpine
container_name: traefik
restart: unless-stopped restart: unless-stopped
network_mode: service:gerbil # Ports appear on the gerbil service container_name: matrix-synapse-db
depends_on: networks:
pangolin: - hydra-local
condition: service_healthy environment:
command: - POSTGRES_USER=synapse
- --configFile=/etc/traefik/traefik_config.yml - POSTGRES_PASSWORD=aComplexPassphraseNobodyCanGuess
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
volumes: volumes:
- /opt/pangolin/config/traefik:/etc/traefik:ro # Volume to store the Traefik configuration - /opt/02_messaging/postgres:/var/lib/postgresql/data
- /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 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: networks:
default: hydra-local:
driver: bridge external: true
name: pangolin
enable_ipv6: true