fix 'window's
This commit is contained in:
11
README.md
11
README.md
@@ -50,8 +50,17 @@ And env file with config setting for Airflow (used in docker-compose-with-celery
|
|||||||
1. Apache Airflow Image was updated to version 1.10.6
|
1. Apache Airflow Image was updated to version 1.10.6
|
||||||
2. Added test_dag into airflow_files
|
2. Added test_dag into airflow_files
|
||||||
|
|
||||||
|
## For Windows 10 Users
|
||||||
|
If you try to work on Windows 10 & run docker-compose on it you will got an issue for **postgres** service:
|
||||||
|
|
||||||
|
FATAL: data directory "/var/lib/postgresql/data/pgdata" has wrong ownership
|
||||||
|
|
||||||
|
To solve this issue you must do additional steps (unfortanutely there is no more quick workaround, check: https://forums.docker.com/t/data-directory-var-lib-postgresql-data-pgdata-has-wrong-ownership/17963/23 and https://forums.docker.com/t/trying-to-get-postgres-to-work-on-persistent-windows-mount-two-issues/12456/5?u=friism):
|
||||||
|
|
||||||
|
1. Create docker volume:
|
||||||
|
|
||||||
|
docker volume create --name volume-postgresql -d local
|
||||||
|
|
||||||
-postgresql -d local
|
|
||||||
|
|
||||||
2. in docker-compose.yml:
|
2. in docker-compose.yml:
|
||||||
2.1 add volume at thetop of the file, under 'networks' defining like this:
|
2.1 add volume at thetop of the file, under 'networks' defining like this:
|
||||||
|
|||||||
Reference in New Issue
Block a user