|
|
|
@ -5,18 +5,19 @@
|
|
|
|
|
|
|
|
|
|
matrix_synapse_auto_compressor_enabled: true
|
|
|
|
|
|
|
|
|
|
matrix_synapse_auto_compressor_version: v0.1.3
|
|
|
|
|
|
|
|
|
|
matrix_synapse_auto_compressor_base_path: "{{ matrix_base_data_path }}/synapse-auto-compressor"
|
|
|
|
|
matrix_synapse_auto_compressor_container_src_files_path: "{{ matrix_synapse_auto_compressor_base_path }}/container-src"
|
|
|
|
|
|
|
|
|
|
matrix_synapse_auto_compressor_container_image_self_build: false
|
|
|
|
|
matrix_synapse_auto_compressor_container_repo: "https://gitlab.com/etke.cc/rust-synapse-compress-state.git"
|
|
|
|
|
matrix_synapse_auto_compressor_container_repo_version: "{{ 'main' if matrix_synapse_auto_compressor_version == 'latest' else matrix_synapse_auto_compressor_version }}"
|
|
|
|
|
matrix_synapse_auto_compressor_container_src_files_path: "{{ matrix_synapse_auto_compressor_base_path }}"
|
|
|
|
|
|
|
|
|
|
matrix_synapse_auto_compressor_version: v0.1.3
|
|
|
|
|
matrix_synapse_auto_compressor_container_image: "{{ matrix_synapse_auto_compressor_container_image_name_prefix }}etke.cc/rust-synapse-compress-state:{{ matrix_synapse_auto_compressor_version }}"
|
|
|
|
|
matrix_synapse_auto_compressor_container_image_name_prefix: "{{ 'localhost/' if matrix_synapse_auto_compressor_container_image_self_build else 'registry.gitlab.com/' }}"
|
|
|
|
|
matrix_synapse_auto_compressor_container_image_force_pull: "{{ matrix_synapse_auto_compressor_container_image.endswith(':latest') }}"
|
|
|
|
|
|
|
|
|
|
matrix_synapse_auto_compressor_base_path: "{{ matrix_base_data_path }}/synapse-auto-compressor"
|
|
|
|
|
|
|
|
|
|
# The base container network. It will be auto-created by this role if it doesn't exist already.
|
|
|
|
|
matrix_synapse_auto_compressor_container_network: matrix-synapse-auto-compressor
|
|
|
|
|
|
|
|
|
@ -57,4 +58,7 @@ matrix_synapse_auto_compressor_chunk_size: 500
|
|
|
|
|
# The higher this number is set to, the longer the compressor will run for.
|
|
|
|
|
matrix_synapse_auto_compressor_chunks_to_compress: 100
|
|
|
|
|
|
|
|
|
|
matrix_synapse_auto_compressor_command: "synapse_auto_compressor -p {{ matrix_synapse_auto_compressor_synapse_database }} -c {{ matrix_synapse_auto_compressor_chunk_size }} -n {{ matrix_synapse_auto_compressor_chunks_to_compress }}"
|
|
|
|
|
matrix_synapse_auto_compressor_command: "synapse_auto_compressor -p $POSTGRES_LOCATION -c {{ matrix_synapse_auto_compressor_chunk_size }} -n {{ matrix_synapse_auto_compressor_chunks_to_compress }}"
|
|
|
|
|
|
|
|
|
|
# Controls the POSTGRES_LOCATION environment variable
|
|
|
|
|
matrix_synapse_auto_compressor_environment_variable_postgres_location: "{{ matrix_synapse_auto_compressor_synapse_database }}"
|
|
|
|
|