use postgres

This commit is contained in:
Sebastian Hugentobler 2019-03-27 18:33:54 +01:00
parent dbceee17ed
commit f78c863d9f
3 changed files with 10 additions and 3 deletions

View file

@ -18,9 +18,9 @@ appservice:
# Database config.
database:
# The database type. Only "sqlite3" is supported.
type: sqlite3
type: postgres
# The database URI. Usually file name. https://github.com/mattn/go-sqlite3#connection-string
uri: /var/lib/matrix-bridge/data/mautrix-whatsapp.db
uri: {{ DATABASE_DATASOURCE }}
# Path to the Matrix room state store.
state_store_path: /var/lib/matrix-bridge/data/mx-state.json