You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/08 13:25:42 UTC
[GitHub] [airflow] mik-laj commented on a change in pull request #17484: Better diagnostics and self-healing of docker-compose
mik-laj commented on a change in pull request #17484:
URL: https://github.com/apache/airflow/pull/17484#discussion_r684775087
##########
File path: docs/apache-airflow/start/docker-compose.yaml
##########
@@ -146,13 +146,54 @@ services:
airflow-init:
<<: *airflow-common
- command: version
+ command:
+ - bash
+ - -c
+ - |
+ if [[ -z "${AIRFLOW_UID}" ]]; then
Review comment:
Should the `$` character be escaped?
##########
File path: docs/apache-airflow/start/docker-compose.yaml
##########
@@ -146,13 +146,54 @@ services:
airflow-init:
<<: *airflow-common
- command: version
+ command:
+ - bash
+ - -c
+ - |
+ if [[ -z "${AIRFLOW_UID}" ]]; then
+ echo -e "\033[1;31mERROR!!!: AIRFLOW_UID not set!\e[0m"
+ echo "Please follow these instructions to set AIRFLOW_UID And AIRFLOW_GID:
Review comment:
```suggestion
echo "Please follow these instructions to set AIRFLOW_UID and AIRFLOW_GID:
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org