File size: 427 Bytes
1243821
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

# Initialize the database
airflow db init

# Create an admin user (you can modify this section with your desired credentials)
airflow users create \
    --username admin \
    --firstname Admin \
    --lastname User \
    --role Admin \
    --email admin@example.com \
    --password admin

# Start the web server on the specified port
airflow webserver --port 7860 &

# Start the scheduler
exec airflow scheduler