From 00b0375b1c56f75149b7f40ed4daf4fc2bdd35b9 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sun, 15 May 2022 10:39:26 +0200 Subject: [PATCH] fix: no underscore, synapse doesn't like it --- compose.telegram.yml | 4 ++-- telegram_bridge.yaml.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compose.telegram.yml b/compose.telegram.yml index 468878d..951bb66 100644 --- a/compose.telegram.yml +++ b/compose.telegram.yml @@ -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 diff --git a/telegram_bridge.yaml.tmpl b/telegram_bridge.yaml.tmpl index 48ae637..3718cfe 100644 --- a/telegram_bridge.yaml.tmpl +++ b/telegram_bridge.yaml.tmpl @@ -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