Add (Postgres + SQLite) support to matrix-mautrix-facebook bridge

This commit is contained in:
Slavi Pantaleev
2020-12-14 11:50:42 +02:00
parent 5dba0c038b
commit 2d99ade72f
4 changed files with 52 additions and 1 deletions

View File

@ -27,7 +27,7 @@ appservice:
# Format examples:
# SQLite: sqlite:///filename.db
# Postgres: postgres://username:password@hostname/dbname
database: sqlite://matrix_bridge_facebook:{{ matrix_additional_databases | selectattr('name', 'equalto', 'matrix_bridge_facebook') | map(attribute='pass') | first }}@{{ matrix_postgres_connection_hostname }}/matrix_bridge_facebook
database: {{ matrix_mautrix_facebook_appservice_database|to_json }}
# Public part of web server for out-of-Matrix interaction with the bridge.
public: