networks:

mynet:
    driver: bridge
This commit is contained in:
Ralf-Peter Wolff 2024-02-09 13:34:36 +01:00
parent 4efb4402f7
commit 48cbdd5a04

View File

@ -10,6 +10,8 @@ services:
- POSTGRES_USER=synapse
- POSTGRES_PASSWORD=jgzqnGCq3KY28C
- POSTGRES_INITDB_ARGS=--encoding='UTF8' --lc-collate='C' --lc-ctype='C'
networks:
- mynet
element:
image: vectorim/element-web:latest
@ -18,6 +20,8 @@ services:
- ./element-config.json:/app/config.json
ports:
- "8701:80"
networks:
- mynet
synapse:
image: matrixdotorg/synapse:latest
@ -32,6 +36,8 @@ services:
- POSTGRES_PASSWORD=jgzqnGCq3KY28C
- SYNAPSE_SERVER_NAME=matrix.server-nb.de
- SYNAPSE_REPORT_STATS=no
networks:
- mynet
synapse-admin:
image: awesometechnologies/synapse-admin:latest
@ -40,13 +46,17 @@ services:
- "8703:80"
environment:
- REACT_APP_SERVER="https://matrix.server-nb.de"
networks:
- mynet
mautrix-whatsapp:
container_name: mautrix-whatsapp
image: dock.mau.dev/mautrix/whatsapp:latest
restart: unless-stopped
volumes:
container_name: mautrix-whatsapp
image: dock.mau.dev/mautrix/whatsapp:latest
restart: unless-stopped
volumes:
- ./synapse/mautrix-whatsapp:/data
networks:
- mynet
postgres-whatsapp:
image: postgres:14
@ -57,5 +67,10 @@ services:
- POSTGRES_DB=whatsapp
- POSTGRES_USER=whatsapp
- POSTGRES_PASSWORD=jgzqnGCq3KY28C
networks:
- mynet
networks:
mynet:
driver: bridge