OED
OED copied to clipboard
docker compose giving permission errors
Describe the bug
'docker-compose up' fails with a permission error
To Reproduce
- pull OED on a separate disk volume from the disk installed with docker
- 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?