matrix: updated databases; added discord bridge
parent
510df0dde3
commit
0a62a22438
|
@ -53,7 +53,7 @@ services:
|
|||
- 'facebook:/data'
|
||||
|
||||
facebook-db:
|
||||
image: 'postgres:14.2-alpine'
|
||||
image: 'postgres:14.3-alpine'
|
||||
|
||||
deploy:
|
||||
mode: 'replicated'
|
||||
|
@ -109,7 +109,7 @@ services:
|
|||
- 'signald:/signald'
|
||||
|
||||
signal-db:
|
||||
image: 'postgres:14.2-alpine'
|
||||
image: 'postgres:14.3-alpine'
|
||||
|
||||
deploy:
|
||||
mode: 'replicated'
|
||||
|
@ -134,7 +134,7 @@ services:
|
|||
|
||||
# =====IRC BRIDGE=====
|
||||
irc:
|
||||
image: 'hif1/heisenbridge:1.12.0'
|
||||
image: 'hif1/heisenbridge:1.13.0'
|
||||
command: >
|
||||
-c /data/config.yaml
|
||||
http://conduit:6167
|
||||
|
@ -149,6 +149,47 @@ services:
|
|||
volumes:
|
||||
- 'irc:/data'
|
||||
|
||||
# =====DISCORD BRIDGE=====
|
||||
discord:
|
||||
image: 'dock.mau.dev/mautrix/discord:latest'
|
||||
|
||||
deploy:
|
||||
mode: 'replicated'
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- 'node.labels.class==matrix'
|
||||
|
||||
networks:
|
||||
- 'default'
|
||||
- 'monitoring'
|
||||
volumes:
|
||||
- 'discord:/data'
|
||||
|
||||
discord-db:
|
||||
image: 'postgres:14.3-alpine'
|
||||
|
||||
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
|
||||
|
||||
environment:
|
||||
- 'POSTGRES_DB=matrix_discord'
|
||||
- 'POSTGRES_USER=matrix_discord'
|
||||
- 'POSTGRES_PASSWORD=matrix_discord'
|
||||
volumes:
|
||||
- 'discord-db:/var/lib/postgresql/data'
|
||||
|
||||
configs:
|
||||
conduit_v7:
|
||||
external: true
|
||||
|
@ -167,3 +208,5 @@ volumes:
|
|||
signald:
|
||||
signal-db:
|
||||
irc:
|
||||
discord:
|
||||
discord-db:
|
||||
|
|
Loading…
Reference in New Issue