Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
3474 Visualizações

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

Avatar
Cancelar
Melhor resposta

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
Cancelar
Autor Melhor resposta
I already have my instance installed and configured through the terminal but I can't find the docker directories on my mac m1



Avatar
Cancelar

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

Publicações relacionadas Respostas Visualizações Atividade
4
dez. 24
16840
4
dez. 23
46093
1
jan. 23
3753
1
mar. 24
6563
1
fev. 21
2821