Skip to Content
Menú
This question has been flagged
2 Respostes
3324 Vistes

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

Avatar
Descartar
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
Descartar
Autor 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
Descartar

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

Autor


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 Respostes Vistes Activitat
4
de des. 24
16593
4
de des. 23
45656
1
de gen. 23
3515
1
de març 24
6302
1
de febr. 21
2673