2023-09-26 09:53:42 +02:00
|
|
|
services:
|
|
|
|
matrix-synapse:
|
|
|
|
container_name: matrix-synapse
|
2023-09-26 11:14:50 +02:00
|
|
|
image: matrixdotorg/synapse:v1.92.3
|
2023-09-26 09:53:42 +02:00
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
2023-09-26 11:14:50 +02:00
|
|
|
- SYNAPSE_SERVER_NAME=bhasher.com
|
2023-09-26 09:53:42 +02:00
|
|
|
- SYNAPSE_REPORT_STATS=no
|
|
|
|
volumes:
|
|
|
|
- $DATA/matrix/synapse:/data:rw
|
2023-09-26 11:14:50 +02:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "curl", "-fSs", "http://localhost:8008/health"]
|
|
|
|
interval: 15s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 3
|
|
|
|
start_period: 5s
|
2023-09-26 09:53:42 +02:00
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.matrix-synapse.rule=Host(`matrix.bhasher.com`)"
|
|
|
|
- "traefik.http.routers.matrix-synapse.tls=true"
|
|
|
|
- "traefik.http.routers.matrix-synapse.tls.certresolver=http"
|
|
|
|
- "traefik.http.routers.matrix-synapse.entrypoints=internalsecure,externalsecure"
|
|
|
|
- "traefik.http.services.matrix-synapse.loadbalancer.server.port=8008"
|
|
|
|
networks:
|
|
|
|
- external
|
2023-09-30 23:05:47 +02:00
|
|
|
- matrix
|
2023-09-26 09:53:42 +02:00
|
|
|
|
|
|
|
matrix-riot:
|
|
|
|
container_name: matrix-element
|
|
|
|
image: ghcr.io/bubuntux/element-web
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- $CONFIG/riot/config.json:/etc/element-web/config.json:ro
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.matrix-riot.rule=Host(`element.bhasher.com`)"
|
|
|
|
- "traefik.http.routers.matrix-riot.tls=true"
|
|
|
|
- "traefik.http.routers.matrix-riot.tls.certresolver=http"
|
|
|
|
- "traefik.http.routers.matrix-riot.entrypoints=internalsecure,externalsecure"
|
|
|
|
- "traefik.http.services.matrix-riot.loadbalancer.server.port=80"
|
|
|
|
networks:
|
|
|
|
- external
|
|
|
|
|
2023-12-12 00:17:26 +01:00
|
|
|
matrix-maubot:
|
|
|
|
container_name: matrix-maubot
|
|
|
|
image: dock.mau.dev/maubot/maubot:latest
|
|
|
|
restart: unless-stopped
|
2024-01-23 00:35:09 +01:00
|
|
|
command: "sh -c \"/usr/bin/python3 -m pip install bs4 && /opt/maubot/docker/run.sh\""
|
2023-12-12 00:17:26 +01:00
|
|
|
environment:
|
|
|
|
- TZ=Europe/Paris
|
2024-02-05 22:24:55 +01:00
|
|
|
- PYTHONUNBUFFERED=1
|
2023-12-12 00:17:26 +01:00
|
|
|
volumes:
|
|
|
|
- $DATA/matrix/maubot:/data
|
2023-12-12 08:36:51 +01:00
|
|
|
- /home/shp/homelab/builds/maubot-resotU:/plugin:ro
|
2023-12-12 00:17:26 +01:00
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.matrix-maubot.rule=Host(`maubot.bhasher.com`)"
|
|
|
|
- "traefik.http.routers.matrix-maubot.tls=true"
|
|
|
|
- "traefik.http.routers.matrix-maubot.tls.certresolver=http"
|
|
|
|
- "traefik.http.routers.matrix-maubot.entrypoints=internalsecure"
|
|
|
|
- "traefik.http.services.matrix-maubot.loadbalancer.server.port=29316"
|
|
|
|
networks:
|
|
|
|
- external
|
|
|
|
- storage
|
|
|
|
- matrix
|
|
|
|
|
2023-10-11 16:46:38 +02:00
|
|
|
#mautrix-slack:
|
|
|
|
# container_name: mautrix-slack
|
|
|
|
# image: dock.mau.dev/mautrix/slack:latest
|
|
|
|
# restart: unless-stopped
|
|
|
|
# volumes:
|
|
|
|
# - $DATA/matrix/slack:/data
|
|
|
|
# networks:
|
|
|
|
# - matrix
|
|
|
|
# - storage
|
2023-09-30 23:05:47 +02:00
|
|
|
|
2023-09-26 11:14:50 +02:00
|
|
|
|
2023-09-26 09:53:42 +02:00
|
|
|
networks:
|
2023-09-30 23:05:47 +02:00
|
|
|
matrix:
|
2023-09-26 09:53:42 +02:00
|
|
|
external:
|
|
|
|
external: true
|
2023-12-12 00:17:26 +01:00
|
|
|
storage:
|
|
|
|
external: true
|