airflow / entrypoint.sh
jonathanjordan21's picture
Update entrypoint.sh
46b4efe verified
raw
history blame contribute delete
311 Bytes
#!/bin/bash
airflow db init
airflow users create \
--username admin \
--firstname Admin \
--lastname User \
--role Admin \
--email admin@example.com \
--password admin
# Start the webserver in the background
airflow webserver --port 7860 &
# Start the scheduler
exec airflow scheduler