odoo / docker

Other
931 stars 1.51k 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 7 months ago

imaxun commented 7 months ago
image image
imaxun commented 7 months ago

I hope to get help

amh-mw commented 7 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 6 months ago

I installed it using k8s

SmartPhoneLover commented 5 months ago

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