콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
8698 화면

Hi,

I'm new at Odoo development and I would like to use docker-compose.

My problem is that I want to uses the enterprise version of Odoo and develop my custom module. The problem is that there is only one volumes "/mnt/extra-addons" and I want to bind several addons paths.

So, if there is a docker-compose expert, may be he can help me !


here is my docker-compose file:


version: '2'
services:
db:
image: postgres:9.5
environment:
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
odoo11:
image: odoo:11.0
depends_on:
- db
ports:
- "8069:8069"
tty: true
command: -- --dev=reload
volumes:
- /home/benjapar/enterprise:/mnt/extra-addons
- ./o_addons/:/mnt/extra-addons
- ./o_etc:/etc/odoo
volumes:
db:
odoo11:



In bold my problem. How can I do for map the enterprise version which is one folder and my custom addons which are in another folder ?

thanks,
Benjamin
아바타
취소
베스트 답변

You need to attach the odoo.conf and put all extra_addons path on it :

volumes:


- /home/benjapar/odoo.conf:/etc/odoo/odoo.conf
- /home/benjapar/enterprise:/mnt/entreprise-addons
- ./o_addons/:/mnt/extra-addons


In odoo.conf

addons_path = /mnt/entreprise-addons, /mnt/extra-addons

아바타
취소
베스트 답변

Good

아바타
취소