|
|
|
@@ -1317,9 +1317,8 @@ matrix_registration_systemd_required_services_list: | |
|
|
|
(['matrix-postgres.service'] if matrix_postgres_enabled else []) |
|
|
|
}} |
|
|
|
|
|
|
|
# We'd like to use 'postgres' if matrix_postgres_enabled, but the container image doesn't seem to support that. |
|
|
|
# Learn more here: https://github.com/ZerataX/matrix-registration/issues/44 |
|
|
|
matrix_registration_database_engine: 'sqlite' |
|
|
|
# Postgres is the default, except if not using `matrix_postgres` (internal postgres) |
|
|
|
matrix_registration_database_engine: "{{ 'postgres' if matrix_postgres_enabled else 'sqlite' }}" |
|
|
|
matrix_registration_database_password: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'mx.registr.db') | to_uuid }}" |
|
|
|
|
|
|
|
###################################################################### |
|
|
|
|