Name the Synapse database on state compression import

Fixes:
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/833
This commit is contained in:
Béla Becker 2021-01-28 17:54:02 +01:00
parent 3ea90ca436
commit 2edc9cb83c

View file

@ -34,7 +34,7 @@
--entrypoint=/bin/sh
{{ matrix_postgres_docker_image_latest }}
-c "cat /work/state-compressor.sql |
psql -v ON_ERROR_STOP=1 -h matrix-postgres"
psql -v ON_ERROR_STOP=1 -h matrix-postgres -d {{ matrix_synapse_database_database }}"
- name: Import compression SQL into Postgres
command: "{{ matrix_synapse_rust_synapse_compress_state_psql_import_command }}"