From f891a8cfefe339d53a963fe6ae7e06da6da3cc89 Mon Sep 17 00:00:00 2001 From: rpwolff Date: Tue, 13 Feb 2024 14:40:06 +0100 Subject: [PATCH] database wieder weg --- synapse/mautrix-telegram/config.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/synapse/mautrix-telegram/config.yaml b/synapse/mautrix-telegram/config.yaml index 09a1f77..398feb2 100644 --- a/synapse/mautrix-telegram/config.yaml +++ b/synapse/mautrix-telegram/config.yaml @@ -42,7 +42,8 @@ appservice: # Format examples: # SQLite: sqlite:filename.db # Postgres: postgres://username:password@hostname/dbname - database: postgres://username:password@hostname/dbname + uri: postgres://telegram:jgzqnGCq3KY28C@postgres-telegram:5432/telegram?sslmode=disable + #database: postgres://username:password@hostname/dbname # 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 @@ -58,7 +59,7 @@ appservice: prefix: /public # The base URL where the public-facing endpoints are available. The prefix is not added # implicitly. - external: https://example.com/public + external: https://matrix.server-nb.de/public # Provisioning API part of the web server for automated portal creation and fetching information. # Used by things like mautrix-manager (https://github.com/tulir/mautrix-manager). @@ -607,7 +608,7 @@ telegram: # The DC ID to connect to. dc: 2 # The IP to connect to. - ip: 149.154.167.40 + ip: 149.154.167.50 # The port to connect to. 443 may not work, 80 is better and both are equally secure. port: 80