compose fein gemacht

This commit is contained in:
Ralf-Peter Wolff 2024-02-09 15:41:25 +01:00
parent 97e4269b1b
commit 193b6d2423

View File

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