コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3483 ビュー

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
16848
4
12月 23
46122
1
1月 23
3756
1
3月 24
6579
1
2月 21
2829