Skip to content

Instantly share code, notes, and snippets.

@HernandoR
Created March 16, 2023 06:53
Show Gist options
  • Save HernandoR/5f39e18d106b3b65e9a6c9168e1f6b2d to your computer and use it in GitHub Desktop.
Save HernandoR/5f39e18d106b3b65e9a6c9168e1f6b2d to your computer and use it in GitHub Desktop.
airflow startup
# Get Airflow Docker Compose file
curl -LfO 'https://airflow.apache.org/docs/apache-airflow/2.2.3/docker-compose.yaml'
# Initialize the Airflow Database
docker-compose up airflow-init
# Run Airflow
docker-compose up
# Ensure that all services are running
docker ps
# Access the web interface
# Login:airflow,Password:airflow
# You can change these using docker variables:
# AIRFLOW_WWW USER USERNAME
# AIRFLOW_WWW_USER_PASSWORD
# http://<you server public ip address>:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment