fix: no underscore, synapse doesn't like it

This commit is contained in:
decentral1se 2022-05-15 10:39:26 +02:00
parent 1832911526
commit 00b0375b1c
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ services:
volumes:
- telegram-data:/telegram-data
telegram_bridge:
telegrambridge:
image: dock.mau.dev/mautrix/telegram:1f5b91cbec7866663d8dd8f4c9a62115e2905552-amd64
depends_on:
- telegram_db
@ -36,7 +36,7 @@ services:
networks:
- internal
telegram_db:
telegramdb:
image: postgres:13-alpine
secrets:
- telegram_db_password

View File

@ -24,7 +24,7 @@ homeserver:
# Changing these values requires regeneration of the registration.
appservice:
# The address that the homeserver can use to connect to this appservice.
address: http://telegram_bridge:29317
address: http://telegrambridge:29317
# When using https:// the TLS certificate and key files for the address.
tls_cert: false
tls_key: false
@ -40,7 +40,7 @@ appservice:
# Format examples:
# SQLite: sqlite:///filename.db
# Postgres: postgres://username:password@hostname/dbname
database: postgres://telegrambridge:{{ secret "telegram_db_password" }}@telegram_db/telegrambridge
database: postgres://telegrambridge:{{ secret "telegram_db_password" }}@telegramdb/telegrambridge
# Additional arguments for asyncpg.create_pool() or sqlite3.connect()
# https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.pool.create_pool
# https://docs.python.org/3/library/sqlite3.html#sqlite3.connect