I've set up Odoo 15 on a container with docker compose, and am accessing the container through "remote container" extension on VS code, i've looked everywhere i cant seem to get how to access the odoo files such as the installed addons folder
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
You have to specify volumes in your docker-compose to make the data persistent. You can access the data in these volumes either in a local directory or in the specified volume.
Local directory in the project directory where your docker-compose.yml is located:
services:
odoo:
container_name: odoo-15
image: odoo:15
volumes:
- ./config:/etc/odoo
- ./extra-addons:/mnt/extra-addons
- ./data:/var/lib/odoo
...
If you are using volumes you need to create the volumes first:
docker volume create
Then you can use these volumes to bind your data:
services:
odoo:
container_name: odoo-15
image: odoo:15
volumes:
- odoo-config:/etc/odoo
- odoo-addons:/mnt/extra-addons
- odoo-data:/var/lib/odoo
...
volumes:
odoo-config:
odoo-addons: odoo-data:
Thank you for the answer, well i just figured that the folder where I can find the source code folder is located in " /usr/lib/python3/dist-packages/odoo/ " it's my first time using odoo but apparently it's not really recomended to modify odoo directly in the source code
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
0
août 24
|
1208 | ||
|
1
oct. 23
|
7655 | ||
|
2
déc. 20
|
20074 | ||
|
2
sept. 23
|
2727 | ||
|
2
août 23
|
7928 |