Work with the latest docker-compose version on Debian 11
This commit is contained in:
parent
f3deb21a2f
commit
6fcc5f7da0
@ -43,15 +43,12 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./data/synapse:/data
|
- ./data/synapse:/data
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
- postgres
|
||||||
condition: service_healthy
|
- redis
|
||||||
redis:
|
|
||||||
condition: service_healthy
|
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8008:8008/tcp
|
- 127.0.0.1:8008:8008/tcp
|
||||||
labels:
|
labels:
|
||||||
synapse-autoheal: "true"
|
synapse-autoheal: "true"
|
||||||
mem_limit: 2G
|
|
||||||
|
|
||||||
sender1:
|
sender1:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
@ -63,11 +60,9 @@ services:
|
|||||||
- ./data/synapse:/data
|
- ./data/synapse:/data
|
||||||
- ./workers:/workers
|
- ./workers:/workers
|
||||||
depends_on:
|
depends_on:
|
||||||
synapse:
|
- synapse
|
||||||
condition: service_healthy
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: true
|
disable: true
|
||||||
mem_limit: 2G
|
|
||||||
|
|
||||||
sender2:
|
sender2:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
@ -79,11 +74,9 @@ services:
|
|||||||
- ./data/synapse:/data
|
- ./data/synapse:/data
|
||||||
- ./workers:/workers
|
- ./workers:/workers
|
||||||
depends_on:
|
depends_on:
|
||||||
synapse:
|
- synapse
|
||||||
condition: service_healthy
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: true
|
disable: true
|
||||||
mem_limit: 2G
|
|
||||||
|
|
||||||
sender3:
|
sender3:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
@ -95,11 +88,9 @@ services:
|
|||||||
- ./data/synapse:/data
|
- ./data/synapse:/data
|
||||||
- ./workers:/workers
|
- ./workers:/workers
|
||||||
depends_on:
|
depends_on:
|
||||||
synapse:
|
- synapse
|
||||||
condition: service_healthy
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: true
|
disable: true
|
||||||
mem_limit: 2G
|
|
||||||
|
|
||||||
sender4:
|
sender4:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
@ -111,11 +102,9 @@ services:
|
|||||||
- ./data/synapse:/data
|
- ./data/synapse:/data
|
||||||
- ./workers:/workers
|
- ./workers:/workers
|
||||||
depends_on:
|
depends_on:
|
||||||
synapse:
|
- synapse
|
||||||
condition: service_healthy
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: true
|
disable: true
|
||||||
mem_limit: 2G
|
|
||||||
|
|
||||||
media:
|
media:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
@ -127,13 +116,11 @@ services:
|
|||||||
- ./data/synapse:/data
|
- ./data/synapse:/data
|
||||||
- ./workers:/workers
|
- ./workers:/workers
|
||||||
depends_on:
|
depends_on:
|
||||||
synapse:
|
- synapse
|
||||||
condition: service_healthy
|
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8009:8008
|
- 127.0.0.1:8009:8008
|
||||||
labels:
|
labels:
|
||||||
synapse-autoheal: "true"
|
synapse-autoheal: "true"
|
||||||
mem_limit: 2G
|
|
||||||
|
|
||||||
generic1:
|
generic1:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
@ -145,13 +132,11 @@ services:
|
|||||||
- ./data/synapse:/data
|
- ./data/synapse:/data
|
||||||
- ./workers:/workers
|
- ./workers:/workers
|
||||||
depends_on:
|
depends_on:
|
||||||
synapse:
|
- synapse
|
||||||
condition: service_healthy
|
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8010:8008/tcp
|
- 127.0.0.1:8010:8008/tcp
|
||||||
labels:
|
labels:
|
||||||
synapse-autoheal: "true"
|
synapse-autoheal: "true"
|
||||||
mem_limit: 2G
|
|
||||||
|
|
||||||
generic2:
|
generic2:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
@ -163,13 +148,11 @@ services:
|
|||||||
- ./data/synapse:/data
|
- ./data/synapse:/data
|
||||||
- ./workers:/workers
|
- ./workers:/workers
|
||||||
depends_on:
|
depends_on:
|
||||||
synapse:
|
- synapse
|
||||||
condition: service_healthy
|
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8011:8008/tcp
|
- 127.0.0.1:8011:8008/tcp
|
||||||
labels:
|
labels:
|
||||||
synapse-autoheal: "true"
|
synapse-autoheal: "true"
|
||||||
mem_limit: 2G
|
|
||||||
|
|
||||||
generic3:
|
generic3:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
@ -181,13 +164,11 @@ services:
|
|||||||
- ./data/synapse:/data
|
- ./data/synapse:/data
|
||||||
- ./workers:/workers
|
- ./workers:/workers
|
||||||
depends_on:
|
depends_on:
|
||||||
synapse:
|
- synapse
|
||||||
condition: service_healthy
|
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8012:8008/tcp
|
- 127.0.0.1:8012:8008/tcp
|
||||||
labels:
|
labels:
|
||||||
synapse-autoheal: "true"
|
synapse-autoheal: "true"
|
||||||
mem_limit: 2G
|
|
||||||
|
|
||||||
generic4:
|
generic4:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
@ -199,13 +180,11 @@ services:
|
|||||||
- ./data/synapse:/data
|
- ./data/synapse:/data
|
||||||
- ./workers:/workers
|
- ./workers:/workers
|
||||||
depends_on:
|
depends_on:
|
||||||
synapse:
|
- synapse
|
||||||
condition: service_healthy
|
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8013:8008/tcp
|
- 127.0.0.1:8013:8008/tcp
|
||||||
labels:
|
labels:
|
||||||
synapse-autoheal: "true"
|
synapse-autoheal: "true"
|
||||||
mem_limit: 2G
|
|
||||||
|
|
||||||
|
|
||||||
coturn:
|
coturn:
|
||||||
@ -242,12 +221,11 @@ services:
|
|||||||
- ./data/prometheus:/prometheus
|
- ./data/prometheus:/prometheus
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
grafana:
|
grafana_default:
|
||||||
aliases:
|
aliases:
|
||||||
- synapse_prometheus
|
- synapse_prometheus
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
grafana:
|
grafana_default:
|
||||||
external: true
|
external: true
|
||||||
name: grafana_default
|
|
||||||
|
Reference in New Issue
Block a user