From 6f0a87d23785c467227187cdfc07779ff0933db0 Mon Sep 17 00:00:00 2001 From: tecfu Date: Sat, 24 Feb 2024 13:38:44 -0700 Subject: [PATCH] docs: Add note to set Airflow UID, GID --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a6fd72c..d645c373 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,10 @@ Here are the steps to take to get airflow 2.0 running with docker on your machin ```bash mkdir ./dags ./logs ./plugins ``` +1. Set user permissions for Airflow to your current user +``` +echo -e "AIRFLOW_UID=$(id -u)\nAIRFLOW_GID=0" > .env +``` 1. Install docker desktop application if you don't have docker running on your machine - [Download Docker Desktop Application for Mac OS](https://hub.docker.com/editions/community/docker-ce-desktop-mac) - [Download Docker Desktop Application for Windows](https://hub.docker.com/editions/community/docker-ce-desktop-windows) @@ -34,4 +38,4 @@ docker ps ``` 1. Open browser and type http://0.0.0.0:8080 to launch the airflow webserver -![](images/screenshot_airflow_docker.png) \ No newline at end of file +![](images/screenshot_airflow_docker.png)