Commit cb1aee90 authored by Samuel GAIST's avatar Samuel GAIST

[databases] Fixed paths handling for index and view

parent 9c43dc11
Pipeline #23961 passed with stages
in 17 minutes and 13 seconds
......@@ -226,8 +226,11 @@ def start_db_container(configuration, cmd, host,
if cmd == CMD_VIEW_OUTPUTS:
databases_container.add_port(
database_port, database_port, host_address=host.ip)
databases_container.add_volume(tmp_prefix, '/beat/prefix')
databases_container.add_volume(configuration.cache, '/beat/cache', read_only=False)
databases_container.add_volume(db_tempdir, '/beat/prefix')
databases_container.add_volume(configuration.cache, '/beat/cache')
else:
databases_container.add_volume(tmp_prefix, '/beat/prefix')
databases_container.add_volume(configuration.cache, '/beat/cache', read_only=False)
# Specify the volumes to mount inside the container
if 'datasets_root_path' not in db_configuration:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment