diff --git a/synapse/mautrix-telegram/config.yaml b/synapse/mautrix-telegram/config.yaml index 23b5496..9c8052d 100644 --- a/synapse/mautrix-telegram/config.yaml +++ b/synapse/mautrix-telegram/config.yaml @@ -1,9 +1,9 @@ # Homeserver details homeserver: # The address that this appservice can use to connect to the homeserver. - address: https://example.com + address: http://example.comsynapse:8008 # The domain of the homeserver (for MXIDs, etc). - domain: example.com + domain: matrix.server-nb.de # Whether or not to verify the SSL certificate of the homeserver. # Only applies if address starts with https:// verify_ssl: true @@ -42,7 +42,8 @@ appservice: # Format examples: # SQLite: sqlite:filename.db # Postgres: postgres://username:password@hostname/dbname - database: postgres://username:password@hostname/dbname + #database: postgres://username:password@hostname/dbname + uri: postgres://telegram:jgzqnGCq3KY28C@postgres-telegram:5432/telegram?sslmode=disable # 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 @@ -191,7 +192,7 @@ bridge: sync_direct_chat_list: false # Servers to always allow double puppeting from double_puppet_server_map: - example.com: https://example.com + matrix.server-nb.de: https://matrix.server-nb.de double_puppet_allow_discovery: false # Shared secrets for https://github.com/devture/matrix-synapse-shared-secret-auth # @@ -522,8 +523,8 @@ bridge: permissions: '*': relaybot public.example.com: user - example.com: full - '@admin:example.com': admin + matrix.server-nb.de: full + '@admin:matrix.server-nb.de': admin relaybot: private_chat: # List of users to invite to the portal when someone starts a private chat with the bot.