pull/227/head
Stephen Kirby 1 year ago
parent 56fdf096c1
commit 47e995f636

@ -11,7 +11,6 @@ tags: [airflow, idea, web, helper]
A module that adds Apache Airflow in your Coder template.
```tf
module "airflow" {
source = "registry.coder.com/modules/airflow/coder"
@ -49,7 +48,7 @@ module "airflow" {
source = "registry.coder.com/modules/airflow/coder"
version = "1.0.2"
agent_id = coder_agent.example.id
extensions = [ "dracula-theme.theme-dracula" ]
extensions = ["dracula-theme.theme-dracula"]
settings = {
"workbench.colorTheme" = "Dracula"
}

@ -6,11 +6,10 @@ PATH=$PATH:~/.local/bin
pip install --upgrade apache-airflow
filename=~/airflow/airflow.db
if ! [ -f $filename ] || ! [ -s $filename ]
then
if ! [ -f $filename ] || ! [ -s $filename ]; then
airflow db init
fi
airflow webserver >${LOG_PATH} 2>&1 &
airflow webserver > ${LOG_PATH} 2>&1 &
airflow users create -u admin -p admin -r Admin -e admin@admin.com -f Coder -l User

Loading…
Cancel
Save