Add matrix-media-repo

This commit is contained in:
BBaoVanC 2021-08-28 20:02:08 -05:00
parent a58a1b12c9
commit f88ecf071e

View File

@ -106,22 +106,6 @@ services:
healthcheck: healthcheck:
disable: true 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: generic1:
image: matrixdotorg/synapse:$SYNAPSE_TAG image: matrixdotorg/synapse:$SYNAPSE_TAG
restart: always restart: always
@ -186,6 +170,17 @@ services:
labels: labels:
synapse-autoheal: "true" 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: prometheus:
image: prom/prometheus:latest image: prom/prometheus:latest
restart: always restart: always