Open tim-win opened 3 years ago
docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name mydb postgres
docker run -v odoo\addon:/mnt/extra-addons -p 8069:8069 --name myisntance --link mydb:db -t odoo
am using winscp to see my files n folders
below is a screenshot
.
@tim-win changes to that doc would be best done via a PR to https://github.com/docker-library/docs/blob/master/odoo/content.md
The base example in the odoo docker docs is missing a required step:
Should be
Running the single image version of odoo without a volume for web data will lose stylesheets any other content in the filestore that is generated at initial DB creation and bootstrap if the container is removed cleaned up.
The fix is simple- add a step to create the odoo-web-data volume, and then mounting it to the docker run command.
When the volume is not present, a recycling of the odoo image will lose filestore data, and stylesheets will 404 when the frontend tries to retrieve them.