parent
8d98629d0c
commit
442edefbe2
@ -48,11 +48,6 @@ services:
|
|||||||
synapse:
|
synapse:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
grafana:
|
|
||||||
aliases:
|
|
||||||
- synapse_synapse
|
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
||||||
volumes:
|
volumes:
|
||||||
@ -71,11 +66,6 @@ services:
|
|||||||
sender1:
|
sender1:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
grafana:
|
|
||||||
aliases:
|
|
||||||
- synapse_sender1
|
|
||||||
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/sender1.yaml"]
|
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/sender1.yaml"]
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_WORKER=synapse.app.federation_sender
|
- SYNAPSE_WORKER=synapse.app.federation_sender
|
||||||
@ -92,11 +82,6 @@ services:
|
|||||||
sender2:
|
sender2:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
grafana:
|
|
||||||
aliases:
|
|
||||||
- synapse_sender2
|
|
||||||
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/sender2.yaml"]
|
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/sender2.yaml"]
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_WORKER=synapse.app.federation_sender
|
- SYNAPSE_WORKER=synapse.app.federation_sender
|
||||||
@ -113,11 +98,6 @@ services:
|
|||||||
sender3:
|
sender3:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
grafana:
|
|
||||||
aliases:
|
|
||||||
- synapse_sender3
|
|
||||||
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/sender3.yaml"]
|
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/sender3.yaml"]
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_WORKER=synapse.app.federation_sender
|
- SYNAPSE_WORKER=synapse.app.federation_sender
|
||||||
@ -134,11 +114,6 @@ services:
|
|||||||
sender4:
|
sender4:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
grafana:
|
|
||||||
aliases:
|
|
||||||
- synapse_sender4
|
|
||||||
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/sender4.yaml"]
|
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/sender4.yaml"]
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_WORKER=synapse.app.federation_sender
|
- SYNAPSE_WORKER=synapse.app.federation_sender
|
||||||
@ -155,11 +130,6 @@ services:
|
|||||||
media:
|
media:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
grafana:
|
|
||||||
aliases:
|
|
||||||
- synapse_media
|
|
||||||
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/media.yaml"]
|
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/media.yaml"]
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_WORKER=synapse.app.media_repository
|
- SYNAPSE_WORKER=synapse.app.media_repository
|
||||||
@ -178,11 +148,6 @@ services:
|
|||||||
generic1:
|
generic1:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
grafana:
|
|
||||||
aliases:
|
|
||||||
- synapse_generic1
|
|
||||||
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/generic.yaml"]
|
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/generic.yaml"]
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_WORKER=synapse.app.generic_worker
|
- SYNAPSE_WORKER=synapse.app.generic_worker
|
||||||
@ -201,11 +166,6 @@ services:
|
|||||||
generic2:
|
generic2:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
grafana:
|
|
||||||
aliases:
|
|
||||||
- synapse_generic2
|
|
||||||
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/generic.yaml"]
|
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/generic.yaml"]
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_WORKER=synapse.app.generic_worker
|
- SYNAPSE_WORKER=synapse.app.generic_worker
|
||||||
@ -224,11 +184,6 @@ services:
|
|||||||
generic3:
|
generic3:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
grafana:
|
|
||||||
aliases:
|
|
||||||
- synapse_generic3
|
|
||||||
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/generic.yaml"]
|
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/generic.yaml"]
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_WORKER=synapse.app.generic_worker
|
- SYNAPSE_WORKER=synapse.app.generic_worker
|
||||||
@ -247,11 +202,6 @@ services:
|
|||||||
generic4:
|
generic4:
|
||||||
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
image: matrixdotorg/synapse:$SYNAPSE_TAG
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
grafana:
|
|
||||||
aliases:
|
|
||||||
- synapse_generic4
|
|
||||||
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/generic.yaml"]
|
command: ["run", "--config-path=/data/homeserver.yaml", "--config-path=/workers/replication.yaml", "--config-path=/workers/generic.yaml"]
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_WORKER=synapse.app.generic_worker
|
- SYNAPSE_WORKER=synapse.app.generic_worker
|
||||||
@ -267,33 +217,39 @@ services:
|
|||||||
synapse-autoheal: "true"
|
synapse-autoheal: "true"
|
||||||
mem_limit: 2G
|
mem_limit: 2G
|
||||||
|
|
||||||
#redis_exporter:
|
prometheus:
|
||||||
# image: oliver006/redis_exporter
|
image: prom/prometheus:latest
|
||||||
# restart: always
|
restart: always
|
||||||
# networks:
|
command:
|
||||||
# default:
|
- --config.file=/etc/prometheus/prometheus.yml
|
||||||
# grafana:
|
volumes:
|
||||||
# aliases:
|
- ./data/prometheus.yml:/etc/prometheus/prometheus.yml
|
||||||
# - synapse_redis_exporter
|
- ./data/prometheus:/prometheus
|
||||||
# environment:
|
ports:
|
||||||
# - REDIS_ADDR=redis://redis:6379
|
- 127.0.0.1:9090:9090
|
||||||
# depends_on:
|
networks:
|
||||||
# redis:
|
default:
|
||||||
# condition: service_healthy
|
grafana:
|
||||||
|
aliases:
|
||||||
|
- synapse_prometheus
|
||||||
|
|
||||||
#postgres_exporter:
|
redis_exporter:
|
||||||
# image: quay.io/prometheuscommunity/postgres-exporter:latest
|
image: oliver006/redis_exporter
|
||||||
# restart: always
|
restart: always
|
||||||
# networks:
|
environment:
|
||||||
# default:
|
- REDIS_ADDR=redis://redis:6379
|
||||||
# grafana:
|
depends_on:
|
||||||
# aliases:
|
redis:
|
||||||
# - synapse_postgres_exporter
|
condition: service_healthy
|
||||||
# environment:
|
|
||||||
# - DATA_SOURCE_NAME=postgresql://synapse:$POSTGRES_PASSWORD@postgres:5432/synapsedb?sslmode=disable
|
postgres_exporter:
|
||||||
# depends_on:
|
image: quay.io/prometheuscommunity/postgres-exporter:latest
|
||||||
# postgres:
|
restart: always
|
||||||
# condition: service_healthy
|
environment:
|
||||||
|
- DATA_SOURCE_NAME=postgresql://synapse:$POSTGRES_PASSWORD@postgres:5432/synapsedb?sslmode=disable
|
||||||
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
Reference in New Issue
Block a user