Skip to content

Commit

Permalink
Fix webserver command in docker-compose (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaxil authored and andriisoldatenko committed Oct 14, 2020
1 parent abb5afd commit 8ee42de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow/docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ services:
webserver:
image: test-project-name/airflow:latest
command: >
bash -c 'airflow create_user "$$@" || airflow users create "$$@"' -- -r Admin -u admin -e [email protected] -f admin -l user -p admin && airflow webserver
bash -c '{ airflow create_user "$$@" || airflow users create "$$@"; } && airflow webserver' -- -r Admin -u admin -e [email protected] -f admin -l user -p admin
restart: unless-stopped
networks:
- airflow
Expand Down
2 changes: 1 addition & 1 deletion airflow/include/composeyml.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ services:
webserver:
image: {{ .AirflowImage }}
command: >
bash -c 'airflow create_user "$$@" || airflow users create "$$@"' -- -r Admin -u admin -e [email protected] -f admin -l user -p admin && airflow webserver
bash -c '{ airflow create_user "$$@" || airflow users create "$$@"; } && airflow webserver' -- -r Admin -u admin -e [email protected] -f admin -l user -p admin
restart: unless-stopped
networks:
- airflow
Expand Down

0 comments on commit 8ee42de

Please sign in to comment.