Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
686 Lượt xem

I have read some articles about how to setup Odoo via Docker and their is an actual image in docker hub. I tried to experiment something. I was able to mount Odoo Source code and Enterprise Addons folder in a multiple docker. This is the project folder looks like.


odoo_docker_projects
​|---- enterprise_addons
​|---- odoo_source_code
​|---- odoo-1
​|---- compose.yml
​|---- odoo.conf
​|---- odoo-2
​|---- compose.yml
​|---- odoo.conf


The volumes part in compose.yml may look like


volumes:

​​- ../enterprise_addons:/opt/odoo/enterprise_addons

​- ./odoo_custom_addons:/opt/odoo/custom_addons

​​- ./config/odoo.conf:/etc/odoo.conf


Question. Is this a good practice? Is it ok to mount the odoo source code and enterprise addons to multiple docker?


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 12 23
20122
0
thg 5 25
387
0
thg 3 25
740
0
thg 12 24
2329
1
thg 8 25
550