matrix: disabled discord bridge

master
Jef Roosens 2022-07-06 11:17:22 +02:00
parent 2c8ef48c6b
commit 65c05868ce
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 35 additions and 35 deletions

View File

@ -150,45 +150,45 @@ services:
- 'irc:/data' - 'irc:/data'
# =====DISCORD BRIDGE===== # =====DISCORD BRIDGE=====
discord: # discord:
image: 'dock.mau.dev/mautrix/discord:latest' # image: 'dock.mau.dev/mautrix/discord:latest'
deploy: # deploy:
mode: 'replicated' # mode: 'replicated'
replicas: 1 # replicas: 1
placement: # placement:
constraints: # constraints:
- 'node.labels.class==matrix' # - 'node.labels.class==matrix'
networks: # networks:
- 'default' # - 'default'
- 'monitoring' # - 'monitoring'
volumes: # volumes:
- 'discord:/data' # - 'discord:/data'
discord-db: # discord-db:
image: 'postgres:14.3-alpine' # image: 'postgres:14.3-alpine'
deploy: # deploy:
mode: 'replicated' # mode: 'replicated'
replicas: 1 # replicas: 1
placement: # placement:
constraints: # constraints:
- 'node.labels.class==matrix' # - 'node.labels.class==matrix'
healthcheck: # healthcheck:
test: pg_isready -U matrix_discord # test: pg_isready -U matrix_discord
interval: 30s # interval: 30s
timeout: 5s # timeout: 5s
retries: 3 # retries: 3
start_period: 15s # start_period: 15s
environment: # environment:
- 'POSTGRES_DB=matrix_discord' # - 'POSTGRES_DB=matrix_discord'
- 'POSTGRES_USER=matrix_discord' # - 'POSTGRES_USER=matrix_discord'
- 'POSTGRES_PASSWORD=matrix_discord' # - 'POSTGRES_PASSWORD=matrix_discord'
volumes: # volumes:
- 'discord-db:/var/lib/postgresql/data' # - 'discord-db:/var/lib/postgresql/data'
configs: configs:
conduit_v7: conduit_v7:
@ -208,5 +208,5 @@ volumes:
signald: signald:
signal-db: signal-db:
irc: irc:
discord: # discord:
discord-db: # discord-db: