knox revisou este gist . Ir para a revisão
1 file changed, 36 insertions
Windmill-4.md(arquivo criado)
@@ -0,0 +1,36 @@ | |||
1 | + | | Environment Variable name | Default | Description | Api Server/Worker/All | | |
2 | + | | ------------------------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | | |
3 | + | | DATABASE_URL | | The Postgres database url. | All | | |
4 | + | | WORKER_GROUP | default | The worker group the worker belongs to and get its configuration pulled from | Worker | | |
5 | + | | MODE | standalone | The mode if the binary. Possible values: standalone, worker, server | All | | |
6 | + | | METRICS_ADDR | None | (ee only) The socket addr at which to expose Prometheus metrics at the /metrics path. Set to "true" to expose it on port 8001 | All | | |
7 | + | | JSON_FMT | false | Output the logs in json format instead of logfmt | All | | |
8 | + | | BASE_URL | http://localhost:8000 | The base url that is exposed publicly to access your instance. Is overriden by the instance settings if any. | Server | | |
9 | + | | SCRIPT_TOKEN_EXPIRY | 900 | The default duration period of the ephemeral-token generated at the beginning of a script | Worker | | |
10 | + | | ZOMBIE_JOB_TIMEOUT | 30 | The timeout after which a job is considered to be zombie if the worker did not send pings about processing the job (every server check for zombie jobs every 30s) | Server | | |
11 | + | | RESTART_ZOMBIE_JOBS | true | If true then a zombie job is restarted (in-place with the same uuid and some logs), if false the zombie job is failed | Server | | |
12 | + | | SLEEP_QUEUE | 50 | The number of ms to sleep in between the last check for new jobs in the DB. It is multiplied by NUM_WORKERS such that in average, for one worker instance, there is one pull every SLEEP_QUEUE ms. | Worker | | |
13 | + | | MAX_LOG_SIZE | 500000 | The maximum number of characters a job can emit (log + result) | Worker | | |
14 | + | | DISABLE_NUSER | false | If Nsjail is enabled, disable the nsjail's `clone_newuser` setting | Worker | | |
15 | + | | KEEP_JOB_DIR | false | Keep the job directory after the job is done. Useful for debugging. | Worker | | |
16 | + | | LICENSE_KEY (EE only) | None | License key checked at startup for the Enterprise Edition of Windmill | Worker | | |
17 | + | | S3_CACHE_BUCKET (EE only) | None | The S3 bucket to sync the cache of the workers to | Worker | | |
18 | + | | SLACK_SIGNING_SECRET | None | The signing secret of your Slack app. See [Slack documentation](https://api.slack.com/authentication/verifying-requests-from-slack) | Server | | |
19 | + | | COOKIE_DOMAIN | None | The domain of the cookie. If not set, the cookie will be set by the browser based on the full origin | Server | | |
20 | + | | DENO_PATH | /usr/bin/deno | The path to the deno binary. | Worker | | |
21 | + | | PYTHON_PATH | /usr/local/bin/python3 | The path to the python binary. | Worker | | |
22 | + | | GO_PATH | /usr/bin/go | The path to the go binary. | Worker | | |
23 | + | | GOPRIVATE | | The GOPRIVATE env variable to use private go modules | Worker | | |
24 | + | | GOPROXY | | The GOPROXY env variable to use | Worker | | |
25 | + | | NETRC | | The netrc content to use a private go registry | Worker | | |
26 | + | | PIP_INDEX_URL | None | The index url to pass for pip. | Worker | | |
27 | + | | PIP_EXTRA_INDEX_URL | None | The extra index url to pass to pip. | Worker | | |
28 | + | | PIP_TRUSTED_HOST | None | The trusted host to pass to pip. | Worker | | |
29 | + | | PATH | None | The path environment variable, usually inherited | Worker | | |
30 | + | | HOME | None | The home directory to use for Go and Bash , usually inherited | Worker | | |
31 | + | | DATABASE_CONNECTIONS | 50 (Server)/3 (Worker) | The max number of connections in the database connection pool | All | | |
32 | + | | SUPERADMIN_SECRET | None | A token that would let the caller act as a virtual superadmin superadmin@windmill.dev | Server | | |
33 | + | | TIMEOUT_WAIT_RESULT | 20 | The number of seconds to wait before timeout on the 'run_wait_result' endpoint | Worker | | |
34 | + | | QUEUE_LIMIT_WAIT_RESULT | None | The number of max jobs in the queue before rejecting immediately the request in 'run_wait_result' endpoint. Takes precedence on the query arg. If none is specified, there are no limit. | Worker | | |
35 | + | | DENO_AUTH_TOKENS | None | Custom DENO_AUTH_TOKENS to pass to worker to allow the use of private modules | Worker | | |
36 | + | | DISABLE_RESPONSE_LOGS | false | Disable response logs | Server | |
Próximo
Anterior