Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
3499 Näkymät

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

Avatar
Hylkää
Paras vastaus

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
Hylkää
Tekijä Paras vastaus
I already have my instance installed and configured through the terminal but I can't find the docker directories on my mac m1



Avatar
Hylkää

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

Tekijä


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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
4
jouluk. 24
16865
4
jouluk. 23
46176
1
tammik. 23
3788
1
maalisk. 24
6633
1
helmik. 21
2847