mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-05 23:10:23 +00:00
enable setting database URL
This commit is contained in:
parent
9ed70188dd
commit
6cc92854df
|
@ -3,10 +3,12 @@
|
|||
# Format examples:
|
||||
# SQLite: sqlite:///filename.db
|
||||
# Postgres: postgresql://username:password@hostname/dbname
|
||||
database: sqlite:////data/maubot.db
|
||||
database: {{ matrix_bot_maubot_storage_database|to_json }}
|
||||
|
||||
# Separate database URL for the crypto database. "default" means use the same database as above.
|
||||
crypto_database: default
|
||||
crypto_database:
|
||||
type: default
|
||||
postgres_uri: {{ matrix_bot_maubot_storage_database|to_json }}
|
||||
|
||||
# Additional arguments for asyncpg.create_pool() or sqlite3.connect()
|
||||
# https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.pool.create_pool
|
||||
|
|
Loading…
Reference in New Issue
Block a user