Note: If Docker is not installed, please visit: docker.com
Start Docker services and open the terminal in the directory where the docker-compose file is located.
Then, run the following commands:
docker-compose up -d --build
docker-compose ps
Expected output:
Go to Airflow UI
- Username: airflow
- Password: airflow
docker-compose up postgres
- username: airflow
- password: airflow
- host: localhost
- port: 5433
- database: postgres
url: 'postgresql+psycopg2://airflow:airflow@localhost:5433/postgres'