Add support for automatic (Postgres -> SQLite) migration to mx-puppet-twitter

This commit is contained in:
Slavi Pantaleev
2020-12-22 17:09:08 +02:00
parent 69cc2145d2
commit ab6563ce4e
4 changed files with 67 additions and 58 deletions

View File

@ -60,11 +60,11 @@ database:
# Connection string to connect to the Postgres instance
# with username "user", password "pass", host "localhost" and database name "dbname".
# Modify each value as necessary
connString: {{ matrix_mx_puppet_twitter_database_connString | to_json }}
connString: {{ matrix_mx_puppet_twitter_database_connection_string|to_json }}
{% else %}
# Use SQLite3 as a database backend
# The name of the database file
filename: {{ matrix_mx_puppet_twitter_database_file }}
filename: {{ matrix_mx_puppet_twitter_sqlite_database_path_in_container|to_json }}
{% endif %}
logging: