Add (Postgres + SQLite) support to matrix-reminder-bot

This has been tested and appears to work.
This commit is contained in:
Slavi Pantaleev
2020-12-14 15:02:11 +02:00
parent dde1c9f899
commit e3a0c9adda
4 changed files with 59 additions and 1 deletions

View File

@ -23,7 +23,7 @@ storage:
# For Postgres, this would look like:
# database: "postgres://username:password@localhost/dbname?sslmode=disable"
#database: "postgres://matrix-reminder-bot:remindme@localhost/matrix-reminder-bot?sslmode=disable"
database: "sqlite:///data/bot.db"
database: {{ matrix_bot_matrix_reminder_bot_storage_database|to_json }}
# The path to a directory for internal bot storage
# containing encryption keys, sync tokens, etc.
store_path: "/data/store"