diff --git a/airflow.cfg b/airflow.cfg index 8a5f038..6eb4102 100644 --- a/airflow.cfg +++ b/airflow.cfg @@ -2,14 +2,11 @@ broker_url = $REDIS_URL sql_alchemy_conn = $DATABASE_URL executor = CeleryExecutor - -# Do not load examples DAGs -load_examples = False +load_examples = True [webserver] -authenticate = True -auth_backend = airflow.contrib.auth.backends.password_auth -rbac = True # Required for role-based-access-control +authenticate = False +rbac = False [database] sql_alchemy_conn = $DATABASE_URL diff --git a/app.json b/app.json index 9bf9992..3121560 100644 --- a/app.json +++ b/app.json @@ -21,11 +21,11 @@ "formation": { "web": { "quantity": 1, - "size": "hobby" + "size": "free" }, "worker": { "quantity": 1, - "size": "hobby" + "size": "free" } }, "scripts": { diff --git a/webserver_config.py b/webserver_config.py new file mode 100644 index 0000000..ca15f92 --- /dev/null +++ b/webserver_config.py @@ -0,0 +1 @@ +AUTH_ROLE_PUBLIC = 'Admin'