Skip to Content
Menu
This question has been flagged
2 Replies
2849 Views

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

Avatar
Discard
Best Answer

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.

Avatar
Discard
Author Best Answer
I already have my instance installed and configured through the terminal but I can't find the docker directories on my mac m1



Avatar
Discard

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

Author


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

Related Posts Replies Views Activity
4
Dec 24
15836
4
Dec 23
44134
1
Jan 23
2879
1
Mar 24
5393
1
Feb 21
2090