mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-06 18:57:37 +01:00
Make synapse-compress-state in-container binary path configurable
This makes it easier to use another container image for rust-synapse-compress-state, which may be storing the binary at another path.
This commit is contained in:
parent
7863486c4b
commit
85627b59ad
@ -624,6 +624,7 @@ matrix_synapse_rust_synapse_compress_state_docker_image: "devture/rust-synapse-c
|
|||||||
matrix_synapse_rust_synapse_compress_state_docker_image_force_pull: "{{ matrix_synapse_rust_synapse_compress_state_docker_image.endswith(':latest') }}"
|
matrix_synapse_rust_synapse_compress_state_docker_image_force_pull: "{{ matrix_synapse_rust_synapse_compress_state_docker_image.endswith(':latest') }}"
|
||||||
|
|
||||||
matrix_synapse_rust_synapse_compress_state_base_path: "{{ matrix_base_data_path }}/rust-synapse-compress-state"
|
matrix_synapse_rust_synapse_compress_state_base_path: "{{ matrix_base_data_path }}/rust-synapse-compress-state"
|
||||||
|
matrix_synapse_rust_synapse_compress_state_synapse_compress_state_in_container_path: "/synapse-compress-state"
|
||||||
|
|
||||||
|
|
||||||
# Default Synapse configuration template which covers the generic use case.
|
# Default Synapse configuration template which covers the generic use case.
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
--network={{ matrix_docker_network }}
|
--network={{ matrix_docker_network }}
|
||||||
--mount type=bind,src={{ matrix_synapse_rust_synapse_compress_state_base_path }},dst=/work
|
--mount type=bind,src={{ matrix_synapse_rust_synapse_compress_state_base_path }},dst=/work
|
||||||
{{ matrix_synapse_rust_synapse_compress_state_docker_image }}
|
{{ matrix_synapse_rust_synapse_compress_state_docker_image }}
|
||||||
/synapse-compress-state -t -o /work/state-compressor.sql
|
{{ matrix_synapse_rust_synapse_compress_state_synapse_compress_state_in_container_path }} -t -o /work/state-compressor.sql
|
||||||
-p "host={{ matrix_synapse_database_host }} user={{ matrix_synapse_database_user }} password={{ matrix_synapse_database_password }} dbname={{ matrix_synapse_database_database }}"
|
-p "host={{ matrix_synapse_database_host }} user={{ matrix_synapse_database_user }} password={{ matrix_synapse_database_password }} dbname={{ matrix_synapse_database_database }}"
|
||||||
-r '{{ room_details.room_id }}'
|
-r '{{ room_details.room_id }}'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user