Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a1a2bbaef |
+13
-45
@@ -1,48 +1,16 @@
|
|||||||
services:
|
services:
|
||||||
nginx:
|
beszel-agent:
|
||||||
image: "nginx:1.22.0"
|
image: henrygd/beszel-agent
|
||||||
container_name: matrix-nginx
|
container_name: beszel-agent
|
||||||
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
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
network_mode: host
|
||||||
- hydra-local
|
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:
|
environment:
|
||||||
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
LISTEN: 45876
|
||||||
volumes:
|
KEY: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIxkVlQYp9JrZWveL6N6wT7alryDtXlSt9MKukD7cJCd'
|
||||||
- /opt/02_messaging/synapse:/data
|
TOKEN: 5ce92750-2361-448f-833a-78880101b723
|
||||||
depends_on:
|
HUB_URL: https://beszel.doeringer.eu
|
||||||
- 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
|
|
||||||
Reference in New Issue
Block a user