odoo / docker

Other
979 stars 1.57k forks source link

I had a permission problem when I mounted the data volume. Trying to specify a user also didn't work. #480

Open imaxun opened 11 months ago

imaxun commented 11 months ago
image image
imaxun commented 11 months ago

I hope to get help

amh-mw commented 11 months ago

I don't recognize the format of your YAML file, but in my own docker-compose.yaml:

services:
  web:
    # This seems similar to your volumeMounts and lets the container mount the volume
    volumes:
      - odoo-data:/var/lib/odoo
# This creates the volume
volumes:
  odoo-data:
    # Nothing here as I am creating a volume from scratch

Are you missing the second part?

imaxun commented 11 months ago

I installed it using k8s

SmartPhoneLover commented 10 months ago

Did you solve it? I don't install it using K8S, but I think it would be the same.