mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-06 23:26:17 +02:00
update airflow
This commit is contained in:
parent
4d9ebaa781
commit
dc69136cf7
@ -26,6 +26,18 @@ $ docker stack deploy -c docker-stack.yaml airflow
|
|||||||
$ docker service update --replicas-max-per-node=1 airflow_worker
|
$ docker service update --replicas-max-per-node=1 airflow_worker
|
||||||
$ docker service update --replicas 3 airflow_worker
|
$ docker service update --replicas 3 airflow_worker
|
||||||
|
|
||||||
|
$ docker stack services airflow
|
||||||
|
$ docker service ps airflow_webserver
|
||||||
|
$ docker exec -it airflow_webserver.1.xxxxxx sh
|
||||||
|
>>> airflow create_user -r Admin -u admin -e admin@borderxlab.com -f Super -l Admin -p secret
|
||||||
|
>>> airflow list_users
|
||||||
|
╒══════╤════════════╤══════════════════════╤══════════════╤═════════════╤═════════╕
|
||||||
|
│ Id │ Username │ Email │ First name │ Last name │ Roles │
|
||||||
|
╞══════╪════════════╪══════════════════════╪══════════════╪═════════════╪═════════╡
|
||||||
|
│ 1 │ admin │ admin@borderxlab.com │ Super │ Admin │ [Admin] │
|
||||||
|
╘══════╧════════════╧══════════════════════╧══════════════╧═════════════╧═════════╛
|
||||||
|
>>> exit
|
||||||
|
|
||||||
$ curl http://localhost:8080/
|
$ curl http://localhost:8080/
|
||||||
$ curl http://localhost:5555/
|
$ curl http://localhost:5555/
|
||||||
```
|
```
|
||||||
|
@ -295,7 +295,7 @@ hide_paused_dags_by_default = False
|
|||||||
page_size = 100
|
page_size = 100
|
||||||
|
|
||||||
# Use FAB-based webserver with RBAC feature
|
# Use FAB-based webserver with RBAC feature
|
||||||
rbac = False
|
rbac = True
|
||||||
|
|
||||||
# Define the color of navigation bar
|
# Define the color of navigation bar
|
||||||
navbar_color = #007A87
|
navbar_color = #007A87
|
||||||
|
Loading…
x
Reference in New Issue
Block a user