matrix: updated databases; added discord bridge
parent
510df0dde3
commit
0a62a22438
|
@ -53,7 +53,7 @@ services:
|
||||||
- 'facebook:/data'
|
- 'facebook:/data'
|
||||||
|
|
||||||
facebook-db:
|
facebook-db:
|
||||||
image: 'postgres:14.2-alpine'
|
image: 'postgres:14.3-alpine'
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: 'replicated'
|
mode: 'replicated'
|
||||||
|
@ -109,7 +109,7 @@ services:
|
||||||
- 'signald:/signald'
|
- 'signald:/signald'
|
||||||
|
|
||||||
signal-db:
|
signal-db:
|
||||||
image: 'postgres:14.2-alpine'
|
image: 'postgres:14.3-alpine'
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: 'replicated'
|
mode: 'replicated'
|
||||||
|
@ -134,7 +134,7 @@ services:
|
||||||
|
|
||||||
# =====IRC BRIDGE=====
|
# =====IRC BRIDGE=====
|
||||||
irc:
|
irc:
|
||||||
image: 'hif1/heisenbridge:1.12.0'
|
image: 'hif1/heisenbridge:1.13.0'
|
||||||
command: >
|
command: >
|
||||||
-c /data/config.yaml
|
-c /data/config.yaml
|
||||||
http://conduit:6167
|
http://conduit:6167
|
||||||
|
@ -149,6 +149,47 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- 'irc:/data'
|
- '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:
|
configs:
|
||||||
conduit_v7:
|
conduit_v7:
|
||||||
external: true
|
external: true
|
||||||
|
@ -167,3 +208,5 @@ volumes:
|
||||||
signald:
|
signald:
|
||||||
signal-db:
|
signal-db:
|
||||||
irc:
|
irc:
|
||||||
|
discord:
|
||||||
|
discord-db:
|
||||||
|
|
Loading…
Reference in New Issue