jonathanjordan21 commited on
Commit
46b4efe
·
verified ·
1 Parent(s): f901b99

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +9 -0
entrypoint.sh CHANGED
@@ -1,5 +1,14 @@
1
  #!/bin/bash
2
 
 
 
 
 
 
 
 
 
 
3
  # Start the webserver in the background
4
  airflow webserver --port 7860 &
5
 
 
1
  #!/bin/bash
2
 
3
+ airflow db init
4
+ airflow users create \
5
+ --username admin \
6
+ --firstname Admin \
7
+ --lastname User \
8
+ --role Admin \
9
+ --email admin@example.com \
10
+ --password admin
11
+
12
  # Start the webserver in the background
13
  airflow webserver --port 7860 &
14