Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49f68a595f | ||
|
|
12aec549c7 | ||
|
|
c8decec286 |
+11
-39
@@ -1,47 +1,19 @@
|
||||
services:
|
||||
nginx:
|
||||
image: "nginx:1.22.0"
|
||||
container_name: matrix-nginx
|
||||
restart: "always"
|
||||
databasus:
|
||||
container_name: databasus
|
||||
networks:
|
||||
- hydra-local
|
||||
image: databasus/databasus:latest
|
||||
# ports:
|
||||
# - "4005:4005"
|
||||
volumes:
|
||||
- /opt/02_messaging/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
|
||||
synapse:
|
||||
image: docker.io/matrixdotorg/synapse:latest
|
||||
container_name: matrix-synapse
|
||||
- /opt/99_backup/databasus-data:/databasus-data
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- hydra-local
|
||||
environment:
|
||||
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
||||
volumes:
|
||||
- /opt/02_messaging/synapse:/data
|
||||
depends_on:
|
||||
- synapse_db
|
||||
|
||||
synapse_db:
|
||||
image: docker.io/postgres:14-alpine
|
||||
restart: unless-stopped
|
||||
container_name: matrix-synapse-db
|
||||
networks:
|
||||
- hydra-local
|
||||
environment:
|
||||
- POSTGRES_USER=synapse
|
||||
- POSTGRES_PASSWORD=aComplexPassphraseNobodyCanGuess
|
||||
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
|
||||
volumes:
|
||||
- /opt/02_messaging/postgres:/var/lib/postgresql/data
|
||||
|
||||
mautrix-whatsapp:
|
||||
container_name: mautrix-whatsapp
|
||||
image: dock.mau.dev/mautrix/whatsapp:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- hydra-local
|
||||
volumes:
|
||||
- /opt/02_messaging/bridges/whatsapp:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "https://backup.doeringer.eu:443/api/v1/system/health"]
|
||||
interval: "10s"
|
||||
timeout: "10s"
|
||||
retries: 15
|
||||
|
||||
networks:
|
||||
hydra-local:
|
||||
|
||||
Reference in New Issue
Block a user