45 lines
1 KiB
YAML
45 lines
1 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
synapse:
|
|
container_name: synapse
|
|
image: docker.io/matrixdotorg/synapse:latest
|
|
restart: unless-stopped
|
|
environment:
|
|
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
|
volumes:
|
|
- ./synapse:/data
|
|
depends_on:
|
|
- synapse_postgres
|
|
ports:
|
|
- 8008:8008/tcp
|
|
|
|
synapse_postgres:
|
|
container_name: synapse-postgres
|
|
image: docker.io/postgres:12-alpine
|
|
env_file:
|
|
- ./postgresql/.env
|
|
volumes:
|
|
- ./postgresql/schemas:/var/lib/postgresql/data
|
|
|
|
mautrix-discord:
|
|
container_name: mautrix-discord
|
|
image: dock.mau.dev/mautrix/discord:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./mautrix-discord/:/data
|
|
|
|
mautrix-meta:
|
|
container_name: mautrix-meta
|
|
image: dock.mau.dev/mautrix/meta:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./mautrix-meta/:/data
|
|
|
|
mautrix-whatsapp:
|
|
container_name: mautrix-whatsapp
|
|
image: dock.mau.dev/mautrix/whatsapp:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./mautrix-whatsapp/:/data
|
|
|