paantya commented on issue #17350:
URL: https://github.com/apache/airflow/issues/17350#issuecomment-890123158


   
   like this?
   `AIRFLOW__WEBSERVER__SECRET_KEY=42`
   
   `docker run --rm -it -e AIRFLOW__CORE__EXECUTOR="CeleryExecutor" -e 
AIRFLOW__CORE__SQL_ALCHEMY_CONN="postgresql+psycopg2://airflow:[email protected]:5432/airflow"
 e 
AIRFLOW__CELERY__RESULT_BACKEND="db+postgresql://airflow:[email protected]:5432/airflow"
 -e AIRFLOW__CELERY__BROKER_URL="redis://:@10.0.0.197:6380/0" -e 
AIRFLOW__CORE__FERNET_KEY="" -e 
AIRFLOW__CORE__DAGS_ARE_PAUSED_AT_CREATION="true" -e 
AIRFLOW__CORE__LOAD_EXAMPLES="true" -e 
AIRFLOW__API__AUTH_BACKEND="airflow.api.auth.backend.basic_auth" -e 
AIRFLOW__WEBSERVER__SECRET_KEY=42 -e _PIP_ADDITIONAL_REQUIREMENTS="" -v 
/home/apatshin/tmp/airflow-worker/dags:/opt/airflow/dags -v 
/home/apatshin/tmp/airflow-worker/logs:/opt/airflow/logs -v 
/home/apatshin/tmp/airflow-worker/plugins:/opt/airflow/plugins -p "6380:6379" 
-p "5432:5432" -p "8793:8793" -e DB_HOST="10.0.0.197" --user 1012:0 
--hostname="host197" "apache/airflow:2.1.2-python3.7" celery worker`


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to