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