Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
3459 Vues

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

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Auteur Meilleure réponse
I already have my instance installed and configured through the terminal but I can't find the docker directories on my mac m1



Avatar
Ignorer

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

Auteur


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

Publications associées Réponses Vues Activité
4
déc. 24
16815
4
déc. 23
46049
1
janv. 23
3742
1
mars 24
6552
1
févr. 21
2812