diff --git a/synapse/mautrix-telegram/config.yaml b/synapse/mautrix-telegram/config.yaml index c1f68de..8ccec2c 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