Просмотр исходного кода

changed SQLite file mount

Mount wasn't working for a set of users it seems (https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1922 and https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/775) and a dynamic file name is not needed for migration.
pull/1923/head
throny 3 лет назад
committed by GitHub
Родитель
Сommit
40229c6b84
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      roles/matrix-postgres/tasks/import_synapse_sqlite_db.yml

+ 2
- 2
roles/matrix-postgres/tasks/import_synapse_sqlite_db.yml Просмотреть файл

@@ -81,6 +81,6 @@
--entrypoint=python --entrypoint=python
--mount type=bind,src={{ matrix_synapse_config_dir_path }},dst=/data --mount type=bind,src={{ matrix_synapse_config_dir_path }},dst=/data
--mount type=bind,src={{ matrix_synapse_config_dir_path }},dst=/matrix-media-store-parent/media-store --mount type=bind,src={{ matrix_synapse_config_dir_path }},dst=/matrix-media-store-parent/media-store
--mount type=bind,src={{ server_path_homeserver_db }},dst=/{{ server_path_homeserver_db|basename }}
--mount type=bind,src={{ server_path_homeserver_db }},dst=/tmp/homeserver.db
{{ matrix_synapse_docker_image }} {{ matrix_synapse_docker_image }}
/usr/local/bin/synapse_port_db --sqlite-database /{{ server_path_homeserver_db|basename }} --postgres-config /data/homeserver.yaml
/usr/local/bin/synapse_port_db --sqlite-database /tmp/homeserver.db --postgres-config /data/homeserver.yaml

Загрузка…
Отмена
Сохранить