matrix/docker-compose.yaml

79 lines
1.7 KiB
YAML
Raw Normal View History

2024-01-14 10:41:58 +01:00
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'
2024-02-09 15:11:33 +01:00
# networks:
# - mynet
2024-01-14 10:41:58 +01:00
element:
image: vectorim/element-web:latest
restart: unless-stopped
volumes:
- ./element-config.json:/app/config.json
ports:
- "8701:80"
2024-02-09 15:11:33 +01:00
# networks:
# - mynet
2024-01-14 10:41:58 +01:00
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
2024-02-09 15:11:33 +01:00
# networks:
# - mynet
2024-01-14 10:41:58 +01:00
synapse-admin:
image: awesometechnologies/synapse-admin:latest
restart: unless-stopped
ports:
- "8703:80"
environment:
- REACT_APP_SERVER="https://matrix.server-nb.de"
2024-02-09 15:11:33 +01:00
# networks:
# - mynet
2024-01-14 10:41:58 +01:00
2024-02-08 20:25:04 +01:00
mautrix-whatsapp:
2024-02-09 13:34:36 +01:00
container_name: mautrix-whatsapp
image: dock.mau.dev/mautrix/whatsapp:latest
restart: unless-stopped
volumes:
- ./synapse/mautrix-whatsapp:/data
2024-02-09 15:11:33 +01:00
# networks:
# - mynet
2024-02-08 20:56:57 +01:00
2024-02-09 12:55:41 +01:00
postgres-whatsapp:
2024-02-09 14:11:52 +01:00
image: postgres:14
restart: unless-stopped
volumes:
2024-02-09 14:45:37 +01:00
- ./postgres-whatsapp:/var/lib/postgresql/data
2024-02-09 14:17:31 +01:00
ports:
- "5432:5432"
2024-02-09 14:11:52 +01:00
environment:
- POSTGRES_DB=whatsapp
- POSTGRES_USER=whatsapp
- POSTGRES_PASSWORD=jgzqnGCq3KY28C
2024-02-09 15:11:33 +01:00
# networks:
# - mynet
2024-02-09 13:34:36 +01:00
2024-02-09 15:11:33 +01:00
#networks:
# mynet:
# driver: bridge
2024-01-14 10:41:58 +01:00