Add matrix-media-repo

This commit is contained in:
BBaoVanC 2021-08-28 20:02:08 -05:00
parent a58a1b12c9
commit f88ecf071e
1 changed files with 11 additions and 16 deletions

View File

@ -106,22 +106,6 @@ services:
healthcheck:
disable: true
media:
image: matrixdotorg/synapse:$SYNAPSE_TAG
restart: always
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/media.yaml"]
environment:
- SYNAPSE_WORKER=synapse.app.media_repository
volumes:
- ./data/synapse:/data
- ./workers:/workers
depends_on:
- synapse
ports:
- 127.0.0.1:8009:8008
labels:
synapse-autoheal: "true"
generic1:
image: matrixdotorg/synapse:$SYNAPSE_TAG
restart: always
@ -186,6 +170,17 @@ services:
labels:
synapse-autoheal: "true"
media-repo:
image: turt2live/matrix-media-repo:latest
restart: always
ports:
- 127.0.0.1:8000:8000
volumes:
- ./data/media-repo:/data
depends_on:
- postgres
- redis
prometheus:
image: prom/prometheus:latest
restart: always