2022-11-08 09:34:56 +01:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app:
|
2023-05-16 11:42:38 +02:00
|
|
|
image: matrixdotorg/synapse:v1.83.0
|
2022-11-08 09:34:56 +01:00
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
expose:
|
|
|
|
- "8008"
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
- default
|
|
|
|
environment:
|
|
|
|
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
|
|
|
- UID=1000
|
|
|
|
- GID=1000
|
|
|
|
volumes:
|
|
|
|
- ${DATA_PATH}/synapse:/data
|
|
|
|
env_file: secrets/app.secrets
|
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "curl", "-fSs", "http://localhost:8008/health"]
|
|
|
|
interval: 15s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 3
|
|
|
|
start_period: 5s
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.docker.network=proxy"
|
2023-02-01 18:43:13 +01:00
|
|
|
- "traefik.http.services.synapse-svc.loadbalancer.server.port=8008"
|
|
|
|
- "traefik.http.routers.synapse.service=synapse-svc"
|
2023-02-06 12:32:05 +01:00
|
|
|
- "traefik.http.routers.synapse.entrypoints=websecure"
|
2023-02-01 18:43:13 +01:00
|
|
|
- "traefik.http.routers.synapse.rule=Host(`${SYNAPSE_CN}`)"
|
2022-11-08 09:34:56 +01:00
|
|
|
|
|
|
|
db:
|
2024-02-14 11:03:07 +01:00
|
|
|
image: postgres:13.14-alpine
|
2022-11-08 09:34:56 +01:00
|
|
|
env_file: ./secrets/db.secrets
|
|
|
|
environment:
|
|
|
|
- LC_COLLATE=C
|
|
|
|
- LC_CTYPE=C
|
|
|
|
- LANG=fr_FR.UTF-8
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- ${DATA_PATH}/db/data:/var/lib/postgresql/data
|
|
|
|
- ${DATA_PATH}/db/.pgpass:/root/.pgpass
|
2023-05-26 17:06:36 +02:00
|
|
|
labels:
|
|
|
|
- "co.elastic.logs/module=postgresql"
|
|
|
|
- "co.elastic.logs/fileset=log"
|
2022-11-08 09:34:56 +01:00
|
|
|
|
2023-10-31 17:12:42 +01:00
|
|
|
signal-bridge:
|
|
|
|
image: dock.mau.dev/mautrix/signal:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- ${DATA_PATH}/mautrix-signal:/data:z
|
|
|
|
- ${DATA_PATH}/signald:/signald
|
|
|
|
|
|
|
|
signald:
|
|
|
|
image: docker.io/signald/signald
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- ${DATA_PATH}/signald:/signald
|
|
|
|
|
2022-11-08 09:34:56 +01:00
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
external: true
|