Skip to content

Commit

Permalink
Use Free Dyno. Disable authentication.
Browse files Browse the repository at this point in the history
  • Loading branch information
slyapustin committed Jun 24, 2022
1 parent 7909053 commit f9e54a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
9 changes: 3 additions & 6 deletions airflow.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"formation": {
"web": {
"quantity": 1,
"size": "hobby"
"size": "free"
},
"worker": {
"quantity": 1,
"size": "hobby"
"size": "free"
}
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions webserver_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
AUTH_ROLE_PUBLIC = 'Admin'

0 comments on commit f9e54a6

Please sign in to comment.