Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49f68a595f | ||
|
|
12aec549c7 | ||
|
|
c8decec286 |
+12
-40
@@ -1,48 +1,20 @@
|
|||||||
services:
|
services:
|
||||||
nginx:
|
databasus:
|
||||||
image: "nginx:1.22.0"
|
container_name: databasus
|
||||||
container_name: matrix-nginx
|
|
||||||
restart: "always"
|
|
||||||
networks:
|
networks:
|
||||||
- hydra-local
|
- hydra-local
|
||||||
|
image: databasus/databasus:latest
|
||||||
|
# ports:
|
||||||
|
# - "4005:4005"
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/02_messaging/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf:ro
|
- /opt/99_backup/databasus-data:/databasus-data
|
||||||
|
|
||||||
synapse:
|
|
||||||
image: docker.io/matrixdotorg/synapse:latest
|
|
||||||
container_name: matrix-synapse
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
healthcheck:
|
||||||
- hydra-local
|
test: ["CMD", "curl", "-f", "https://backup.doeringer.eu:443/api/v1/system/health"]
|
||||||
environment:
|
interval: "10s"
|
||||||
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
timeout: "10s"
|
||||||
volumes:
|
retries: 15
|
||||||
- /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
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
hydra-local:
|
hydra-local:
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user