All checks were successful
cc-ci/testme cc-ci: success
- matrixdotorg/synapse: v1.149.1 -> v1.154.0 - pgautoupgrade/pgautoupgrade: 17-alpine -> 18-alpine (+ PGDATA pin for in-place upgrade) - ghcr.io/element-hq/matrix-authentication-service: 1.14.0 -> 1.18.0 - nginx: 1.29.6 -> 1.31.1 - discorddb postgres: 13-alpine -> 16-alpine (conservative bump; manual dump/restore required) Deferred to separate PR: - mautrix/signal v0.8.7 -> v26.02.2 (CalVer; requires signaldb dump/restore) - mautrix/telegram v0.15.3 -> v0.2605.0 (CalVer; requires telegramdb dump/restore) - signaldb/telegramdb postgres: 13-alpine (deferred with bridges)
67 lines
1.5 KiB
YAML
67 lines
1.5 KiB
YAML
---
|
|
version: "3.8"
|
|
|
|
services:
|
|
app:
|
|
environment:
|
|
- APP_SERVICES_ENABLED
|
|
- APP_SERVICE_CONFIGS
|
|
volumes:
|
|
- discord-data:/discord-data
|
|
|
|
discordbridge:
|
|
image: halfshot/matrix-appservice-discord:v1.0.0
|
|
depends_on:
|
|
- discorddb
|
|
configs:
|
|
- source: discord_bridge_yaml
|
|
target: /data/config.yaml
|
|
environment:
|
|
- DISCORD_CLIENT_ID
|
|
- DISCORD_BRIDGE_ADMIN
|
|
- HOMESERVER_DOMAIN
|
|
- HOMESERVER_URL
|
|
secrets:
|
|
- discord_bot_token
|
|
- discord_db_password
|
|
volumes:
|
|
- discord-data:/data
|
|
networks:
|
|
- internal
|
|
|
|
discorddb:
|
|
image: postgres:16-alpine
|
|
secrets:
|
|
- discord_db_password
|
|
environment:
|
|
- LC_COLLATE=C
|
|
- LC_CTYPE=C
|
|
- POSTGRES_DB=discordbridge
|
|
- POSTGRES_INITDB_ARGS="-E \"UTF8\""
|
|
- POSTGRES_PASSWORD_FILE=/run/secrets/discord_db_password
|
|
- POSTGRES_USER=discordbridge
|
|
networks:
|
|
- internal
|
|
healthcheck:
|
|
test: ["CMD", "pg_isready", "-U", "$POSTGRES_USER" ]
|
|
volumes:
|
|
- discord-postgres:/var/lib/postgresql/data
|
|
|
|
configs:
|
|
discord_bridge_yaml:
|
|
name: ${STACK_NAME}_discord_bridge_yaml_${DISCORD_BRIDGE_YAML_VERSION}
|
|
file: discord_bridge.yaml.tmpl
|
|
template_driver: golang
|
|
|
|
volumes:
|
|
discord-data:
|
|
discord-postgres:
|
|
|
|
secrets:
|
|
discord_db_password:
|
|
external: true
|
|
name: ${STACK_NAME}_discord_db_password_${SECRET_DISCORD_DB_PASSWORD_VERSION}
|
|
discord_bot_token:
|
|
external: true
|
|
name: ${STACK_NAME}_discord_bot_token_${SECRET_DISCORD_BOT_TOKEN_VERSION}
|