I'm trying to configure Odoo for Docker on Windows, but Docker keeps telling me that some of the shared volumes have wrong ownership.
It's the pgdata and modules that gives me errors.
Before initialising the containers I'm creating the folders on Windows.
version: '3.3'
services:
odoo:
build:
context: https://github.com/EmilMoe/odoo10.git
volumes:
- ./odoo.conf:/etc/odoo/odoo.conf
- ./addons:/mnt/addons
- ./data:/var/lib/odoo
- ./modules:/usr/lib/python2.7/dist-packages/odoo
ports:
- "8069:8069"
db:
image: postgres:9.6
environment:
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- ./pgdata:/var/lib/postgresql/data/pgdata
ports:
- "5432:5432"
Julian Dumitrascu
My teams make available people, methods, and means that help manage one's relationships, data, and resources.
Are you using Odoo?