跳至內容
選單
此問題已被標幟
2 回覆
3454 瀏覽次數

How do I access odoo directories to add custom modules? runs with Docker on Mac M1

頭像
捨棄
最佳答案

You have to specify a volume or bind mount for you addons, for example:

volumes:
- config:/etc/odoo
- extra-addons:/mnt/extra-addons
- data:/var/lib/odoo

In your /etc/odoo/odoo.conf add the following:

[options]
addons_path = /mnt/extra-addons

After this restart your container and you should be able to install custom addons. For more information you can also check out my blog post about this topic.

I hope this helps.

頭像
捨棄
作者 最佳答案
I already have my instance installed and configured through the terminal but I can't find the docker directories on my mac m1



頭像
捨棄

Your Docker volumes can usually be found under /var/lib/docker/volumes, but I don't know if this also applies for Mac

作者


Working on linux I find them in that location but on my MAC M1 they are not there and I can't find them

相關帖文 回覆 瀏覽次數 活動
4
12月 24
16806
4
12月 23
46042
1
1月 23
3733
1
3月 24
6545
1
2月 21
2811