OED icon indicating copy to clipboard operation
OED copied to clipboard

docker compose giving permission errors

Open jina2k opened this issue 4 years ago • 0 comments

Describe the bug

'docker-compose up' fails with a permission error

To Reproduce

  1. pull OED on a separate disk volume from the disk installed with docker
  2. attempt to docker-compose up

Expected behavior

docker-compose up should run successfully

Machine info

  • OS: Windows 10
  • Browser & Version: Chrome 93.0.4577.82
  • OED Version: 0.7.0

Additional context

To fix this problem, I used the following link as reference. https://github.com/docker-library/postgres/issues/116#issuecomment-490241287

As such, in the docker-compose.yml file, I changed volumes: - ./postgres-data:/var/lib/postgresql/data/pgdata to: volumes: - ./postgres-data:/var/lib/postgresql/pgdata

Two issues with pushing this change involve:

  • Does this change work for other users?
  • Will this affect the database on current users?

jina2k avatar Sep 27 '21 00:09 jina2k