Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a1a2bbaef |
+13
-45
@@ -1,48 +1,16 @@
|
||||
services:
|
||||
nginx:
|
||||
image: "nginx:1.22.0"
|
||||
container_name: matrix-nginx
|
||||
restart: "always"
|
||||
networks:
|
||||
- hydra-local
|
||||
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
|
||||
beszel-agent:
|
||||
image: henrygd/beszel-agent
|
||||
container_name: beszel-agent
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- hydra-local
|
||||
network_mode: host
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- ./beszel_agent_data:/var/lib/beszel-agent
|
||||
# monitor other disks / partitions by mounting a folder in /extra-filesystems
|
||||
# - /mnt/disk/.beszel:/extra-filesystems/sda1:ro
|
||||
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
|
||||
|
||||
networks:
|
||||
hydra-local:
|
||||
external: true
|
||||
LISTEN: 45876
|
||||
KEY: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIxkVlQYp9JrZWveL6N6wT7alryDtXlSt9MKukD7cJCd'
|
||||
TOKEN: 5ce92750-2361-448f-833a-78880101b723
|
||||
HUB_URL: https://beszel.doeringer.eu
|
||||
Reference in New Issue
Block a user