Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3366 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor Najlepsza odpowiedź
I already have my instance installed and configured through the terminal but I can't find the docker directories on my mac m1



Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
4
gru 24
16671
4
gru 23
45809
1
sty 23
3611
1
mar 24
6391
1
lut 21
2736