Spaces:
Runtime error
Runtime error
Update entrypoint.sh
Browse files- 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 |
|