跳至内容
菜单
此问题已终结
2 回复
3410 查看

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
16716
4
12月 23
45919
1
1月 23
3648
1
3月 24
6465
1
2月 21
2765