Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
3338 Tampilan

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

Avatar
Buang
Jawaban Terbai

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
Buang
Penulis Jawaban Terbai
I already have my instance installed and configured through the terminal but I can't find the docker directories on my mac m1



Avatar
Buang

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

Penulis


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

Post Terkait Replies Tampilan Aktivitas
4
Des 24
16625
4
Des 23
45736
1
Jan 23
3559
1
Mar 24
6353
1
Feb 21
2697