Add synapse-admin

Useful to see what's going on on the server
This commit is contained in:
Jake Howard 2021-06-12 18:09:18 +01:00
parent 3485f8e1f0
commit 47e546d51a
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -31,3 +31,13 @@ services:
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C - POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
volumes: volumes:
- /mnt/tank/dbs/postgres/synapse:/var/lib/postgresql/data - /mnt/tank/dbs/postgres/synapse:/var/lib/postgresql/data
admin:
image: awesometechnologies/synapse-admin:latest
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.synapse-admin.rule=Host(`matrix.jakehoward.tech`) && PathPrefix(`/admin`)
- traefik.http.routers.synapse-admin.tls.certresolver=le
- traefik.http.middlewares.synapse-admin-path.stripprefix.prefixes=/admin
- traefik.http.routers.synapse-admin.middlewares=synapse-admin-path@docker