2019-01-16 18:05:48 +02:00
|
|
|
matrix_postgres_enabled: true
|
|
|
|
|
|
|
|
matrix_postgres_connection_hostname: ""
|
|
|
|
matrix_postgres_connection_username: ""
|
|
|
|
matrix_postgres_connection_password: ""
|
|
|
|
matrix_postgres_db_name: ""
|
2019-01-12 17:53:00 +02:00
|
|
|
|
|
|
|
matrix_postgres_base_path: "{{ matrix_base_data_path }}/postgres"
|
|
|
|
matrix_postgres_data_path: "{{ matrix_postgres_base_path }}/data"
|
|
|
|
|
2020-11-24 09:06:16 +02:00
|
|
|
matrix_postgres_docker_image_v9: "docker.io/postgres:9.6.20-alpine"
|
|
|
|
matrix_postgres_docker_image_v10: "docker.io/postgres:10.15-alpine"
|
|
|
|
matrix_postgres_docker_image_v11: "docker.io/postgres:11.10-alpine"
|
|
|
|
matrix_postgres_docker_image_v12: "docker.io/postgres:12.5-alpine"
|
|
|
|
matrix_postgres_docker_image_v13: "docker.io/postgres:13.1-alpine"
|
2020-09-30 23:40:24 +02:00
|
|
|
matrix_postgres_docker_image_latest: "{{ matrix_postgres_docker_image_v13 }}"
|
2019-04-30 16:35:18 +02:00
|
|
|
|
2019-06-10 13:23:51 +02:00
|
|
|
# This variable is assigned at runtime. Overriding its value has no effect.
|
|
|
|
matrix_postgres_docker_image_to_use: '{{ matrix_postgres_docker_image_latest }}'
|
|
|
|
|
|
|
|
matrix_postgres_docker_image_force_pull: "{{ matrix_postgres_docker_image_to_use.endswith(':latest') }}"
|
|
|
|
|
2019-04-30 16:35:18 +02:00
|
|
|
# A list of extra arguments to pass to the container
|
|
|
|
matrix_postgres_container_extra_arguments: []
|
2019-06-10 03:35:35 +02:00
|
|
|
|
|
|
|
# Controls whether the matrix-postgres container exposes a port (tcp/5432 in the
|
2019-06-10 07:24:37 +02:00
|
|
|
# container) that can be used to access the database from outside the container (e.g. with psql)
|
2019-06-10 03:35:35 +02:00
|
|
|
#
|
|
|
|
# psql postgresql://username:password@localhost:<port>/database_name
|
|
|
|
#
|
|
|
|
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:5432"), or empty string to not expose.
|
|
|
|
matrix_postgres_container_postgres_bind_port: ""
|
2020-12-13 21:07:16 +02:00
|
|
|
|
|
|
|
# A list of additional (databases and their credentials) to create.
|
|
|
|
#
|
|
|
|
# Example:
|
|
|
|
# matrix_postgres_additional_databases:
|
|
|
|
# - name: matrix_appservice_discord
|
2020-12-13 21:43:53 +02:00
|
|
|
# username: matrix_appservice_discord
|
2020-12-14 00:43:03 +02:00
|
|
|
# password: some_password
|
2020-12-13 21:07:16 +02:00
|
|
|
# - name: matrix_appservice_slack
|
2020-12-13 21:43:53 +02:00
|
|
|
# username: matrix_appservice_slack
|
2020-12-14 00:43:03 +02:00
|
|
|
# password: some_password
|
2020-12-13 21:07:16 +02:00
|
|
|
matrix_postgres_additional_databases: []
|
2020-12-14 00:59:59 +02:00
|
|
|
|
|
|
|
# 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
|
2020-12-14 02:23:29 +02:00
|
|
|
|
|
|
|
matrix_postgres_pgloader_docker_image: "docker.io/illagrenan/pgloader:3.6.2"
|