|
|
|
@@ -43,6 +43,22 @@ matrix_postgres_container_postgres_bind_port: "" |
|
|
|
# password: some_password |
|
|
|
matrix_postgres_additional_databases: [] |
|
|
|
|
|
|
|
# A list of roles/users to avoid creating when importing (or upgrading) the database. |
|
|
|
# If a dump file contains the roles and they've also been created beforehand (see `matrix_postgres_additional_databases`), |
|
|
|
# importing would fail. |
|
|
|
# We either need to not create them or to ignore the `CREATE ROLE` statements in the dump. |
|
|
|
matrix_postgres_import_roles_to_ignore: [matrix_postgres_connection_username] |
|
|
|
|
|
|
|
matrix_postgres_import_roles_ignore_regex: "^CREATE ROLE ({{ matrix_postgres_import_roles_to_ignore|join('|') }});" |
|
|
|
|
|
|
|
# A list of databases to avoid creating when importing (or upgrading) the database. |
|
|
|
# If a dump file contains the databases and they've also been created beforehand (see `matrix_postgres_additional_databases`), |
|
|
|
# importing would fail. |
|
|
|
# We either need to not create them or to ignore the `CREATE DATABASE` statements in the dump. |
|
|
|
matrix_postgres_import_databases_to_ignore: [matrix_postgres_db_name] |
|
|
|
|
|
|
|
matrix_postgres_import_databases_ignore_regex: "^CREATE DATABASE ({{ matrix_postgres_import_databases_to_ignore|join('|') }})\\s" |
|
|
|
|
|
|
|
# The number of seconds to wait after starting `matrix-postgres.service` |
|
|
|
# and before trying to run queries for creating additional databases/users against it. |
|
|
|
# |
|
|
|
|