Airflow based project to manage the geoprectify process
Copy env.sample
and edit .env
:
cp env.sample .env
First time only:
mkdir ./logs
#adjust to UID/GID to be used by airflow configured in `.env`
sudo chown 50000:50000 ./logs
sudo chown 50000:50000 ./output
docker build --no-cache -t custom/airflow:latest .
docker network create oaw_geonode_default
docker-compose up airflow-init
docker-compose up
Other times:
Application run
docker-compose up
Rebuild image:
docker build --no-cache -t custom/airflow:latest .
docker-compose run airflow-worker variables import /opt/settings/variables.json
Use the .sh
file plus the airflow cli commands:
Example:
./airflow.sh info
./airflow.sh bash