Ensure matrix-postgres.service is started before creating additional users/databases

This commit is contained in:
Slavi Pantaleev
2020-12-14 00:59:59 +02:00
parent a374d309c8
commit 183d2a10db
2 changed files with 20 additions and 4 deletions

View File

@ -42,3 +42,9 @@ matrix_postgres_container_postgres_bind_port: ""
# username: matrix_appservice_slack
# password: some_password
matrix_postgres_additional_databases: []
# The number of seconds to wait after starting `matrix-postgres.service`
# and before trying to run queries for creating additional databases/users against it.
#
# For most (subsequent) runs, Postgres would already be running, so no waiting will be happening at all.
matrix_postgres_additional_databases_postgres_start_wait_timeout_seconds: 15