Skip to content
Snippets Groups Projects
Commit ac732db1c937 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:pencil: bind more odoo volumes from the image

parent 2e9793d4bf8a
No related branches found
No related tags found
No related merge requests found
......@@ -306,9 +306,10 @@
logging.debug('No data volume for this odoo version')
# avoid the duplication of unbind volumes with all addons
addons_volume_name = '{}_addons'.format(project_name)
addons_volume = getVolume(docker_client, addons_volume_name)
binds.append('{}:/opt/odoo/additional_addons'.format(addons_volume_name))
for extra_volume in ['additional_addons', 'var', 'data']:
volume_name = '{}_opt_odoo_{}'.format(project_name, extra_volume)
volume = getVolume(docker_client, volume_name)
binds.append('{}:/opt/odoo/{}'.format(volume_name, extra_volume))
if start_postgresql:
pg_repository = 'xcgd/postgresql'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment