webserver
Definition
Starts an Airflow webserver instance. You can run this command by using the Add/Remove components action in ADCM.
Usage
$ airflow webserver [-h] [-A ACCESS_LOGFILE] [-L ACCESS_LOGFORMAT] [-D] [-d]
[-E ERROR_LOGFILE] [-H HOSTNAME] [-l LOG_FILE] [--pid [PID]]
[-p PORT] [--ssl-cert SSL_CERT] [--ssl-key SSL_KEY]
[--stderr STDERR] [--stdout STDOUT] [-t WORKER_TIMEOUT]
[-k {sync,eventlet,gevent,tornado}] [-w WORKERS]
Arguments
| Parameter | Description |
|---|---|
-A, --access-logfile |
The logfile to store the webserver access log. Use |
-L, --access-logformat |
The access log format for gunicorn logs |
-D, --daemon |
Run as a daemon instead of running in the foreground |
-d, --debug |
Use the server that is shipped with Flask in debug mode |
-E, --error-logfile |
The logfile to store the webserver error log. Use |
-H, --hostname |
Hostname on which to run the webserver |
-l, --log-file |
Location of the log file |
--pid |
PID file location |
-p, --port |
Port on which to run the server |
--ssl-cert |
Path to the SSL certificate for the webserver |
--ssl-key |
Path to the key to use with the SSL certificate |
--stderr |
Redirect stderr to the specified file |
--stdout |
Redirect stdout to the specified file |
-t, --worker-timeout |
The timeout for waiting on webserver workers |
-k, --workerclass |
The worker class to use for Gunicorn. Possible values: |
-w, --workers |
Number of workers to run the webserver on |