mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-25 02:18:31 +01:00
allow to pass arguments to the postgres process
This commit is contained in:
parent
880025324a
commit
1e68d8b2e5
@ -22,6 +22,10 @@ matrix_postgres_docker_image_force_pull: "{{ matrix_postgres_docker_image_to_use
|
|||||||
# A list of extra arguments to pass to the container
|
# A list of extra arguments to pass to the container
|
||||||
matrix_postgres_container_extra_arguments: []
|
matrix_postgres_container_extra_arguments: []
|
||||||
|
|
||||||
|
# A list of extra arguments to pass to the postgres process
|
||||||
|
# e.g. "-c 'max_connections=200'"
|
||||||
|
matrix_postgres_process_extra_arguments: []
|
||||||
|
|
||||||
# Controls whether the matrix-postgres container exposes a port (tcp/5432 in the
|
# Controls whether the matrix-postgres container exposes a port (tcp/5432 in the
|
||||||
# container) that can be used to access the database from outside the container (e.g. with psql)
|
# container) that can be used to access the database from outside the container (e.g. with psql)
|
||||||
#
|
#
|
||||||
|
@ -26,7 +26,11 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-postgres \
|
|||||||
{% for arg in matrix_postgres_container_extra_arguments %}
|
{% for arg in matrix_postgres_container_extra_arguments %}
|
||||||
{{ arg }} \
|
{{ arg }} \
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_postgres_docker_image_to_use }}
|
{{ matrix_postgres_docker_image_to_use }} \
|
||||||
|
postgres \
|
||||||
|
{% for arg in matrix_postgres_process_extra_arguments %}
|
||||||
|
{{ arg }} \
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
ExecStop=-{{ matrix_host_command_docker }} stop matrix-postgres
|
ExecStop=-{{ matrix_host_command_docker }} stop matrix-postgres
|
||||||
ExecStop=-{{ matrix_host_command_docker }} rm matrix-postgres
|
ExecStop=-{{ matrix_host_command_docker }} rm matrix-postgres
|
||||||
|
Loading…
Reference in New Issue
Block a user