matrix/docker-compose.yaml
2024-02-12 17:36:13 +00:00

79 lines
1.9 KiB
YAML
Executable File

version: '2.3'
services:
postgres:
image: postgres:14
restart: unless-stopped
volumes:
- ./postgresdata:/var/lib/postgresql/data
environment:
- POSTGRES_DB=synapse
- POSTGRES_USER=synapse
- POSTGRES_PASSWORD=jgzqnGCq3KY28C
- POSTGRES_INITDB_ARGS=--encoding='UTF8' --lc-collate='C' --lc-ctype='C'
#
element:
image: vectorim/element-web:latest
restart: unless-stopped
volumes:
- ./element-config.json:/app/config.json
ports:
- "8701:80"
#
synapse:
image: matrixdotorg/synapse:latest
restart: unless-stopped
ports:
- "8008:8008"
volumes:
- ./synapse:/data
environment:
- POSTGRES_DB=synapse
- POSTGRES_USER=synapse
- POSTGRES_PASSWORD=jgzqnGCq3KY28C
- SYNAPSE_SERVER_NAME=matrix.server-nb.de
- SYNAPSE_REPORT_STATS=no
#
synapse-admin:
image: awesometechnologies/synapse-admin:latest
restart: unless-stopped
ports:
- "8703:80"
environment:
- REACT_APP_SERVER="https://matrix.server-nb.de"
#
mautrix-whatsapp:
container_name: mautrix-whatsapp
image: dock.mau.dev/mautrix/whatsapp:latest
restart: unless-stopped
volumes:
- ./synapse/mautrix-whatsapp:/data
#
postgres-whatsapp:
image: postgres:14
restart: unless-stopped
volumes:
- ./postgres-whatsapp:/var/lib/postgresql/data
environment:
- POSTGRES_DB=whatsapp
- POSTGRES_USER=whatsapp
- POSTGRES_PASSWORD=jgzqnGCq3KY28C
#
#
mautrix-signal:
container_name: mautrix-signal
image: dock.mau.dev/mautrix/signal:latest
restart: unless-stopped
volumes:
- ./synapse/mautrix-signal:/data
#
postgres-signal:
image: postgres:14
restart: unless-stopped
volumes:
- ./postgres-signal:/var/lib/postgresql/data
environment:
- POSTGRES_DB=signal
- POSTGRES_USER=signal
- POSTGRES_PASSWORD=jgzqnGCq3KY28C
#