Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
3434 Представления

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

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Автор Лучший ответ
I already have my instance installed and configured through the terminal but I can't find the docker directories on my mac m1



Аватар
Отменить

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

Автор


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 Ответы Просмотры Активность
4
дек. 24
16754
4
дек. 23
45965
1
янв. 23
3684
1
мар. 24
6490
1
февр. 21
2795