57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
# This compose file is compatible with Compose itself, it might need some
|
|
# adjustments to run properly with stack.
|
|
|
|
services:
|
|
synapse:
|
|
container_name: synapse
|
|
image: docker.io/matrixdotorg/synapse:1.127.1
|
|
restart: unless-stopped
|
|
environment:
|
|
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
|
- SYNAPSE_SERVER_NAME=nadeko.net
|
|
- SYNAPSE_REPORT_STATS=no
|
|
volumes:
|
|
- ./synapse_data:/data:rw
|
|
- ./synapse_data/homeserver.yaml:/data/homeserver.yaml:ro
|
|
- /var/run/postgresql/:/run/postgresql:rw
|
|
ports:
|
|
- 127.0.0.1:10022:8008/tcp
|
|
- 127.0.0.1:9183:9183/tcp
|
|
|
|
mautrix-telegram:
|
|
image: dock.mau.dev/mautrix/telegram:latest
|
|
container_name: mautrix-telegram
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./mautrix-telegram_data:/data:z
|
|
- /var/run/postgresql/:/run/postgresql:rw
|
|
depends_on:
|
|
synapse:
|
|
condition: service_healthy
|
|
|
|
mautrix-whatsapp:
|
|
image: dock.mau.dev/mautrix/whatsapp:latest
|
|
container_name: mautrix-whatsapp
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./mautrix-whatsapp_data:/data:z
|
|
- /var/run/postgresql/:/run/postgresql:rw
|
|
depends_on:
|
|
synapse:
|
|
condition: service_healthy
|
|
|
|
element:
|
|
image: vectorim/element-web:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./element-web/config.json:/app/config.json:ro
|
|
ports:
|
|
- 127.0.0.1:10024:80/tcp
|
|
|
|
synapse-admin:
|
|
image: ghcr.io/etkecc/synapse-admin:latest
|
|
ports:
|
|
- 127.0.0.1:10025:80
|
|
restart: unless-stopped
|
|
|
|
|