-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
24 lines (21 loc) · 1.49 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
### Redis Options ###
REDIS_ADDR=localhost:6379 # Address of the Redis server
REDIS_PWD=notverysecret # Password for the Redis server
REDIS_TLS_ENABLED=false # Whether to use TLS for the Redis connection
### HadesAPI Options ###
API_PORT=8080 # Port for the API to listen on (default: 8080)
AUTH_KEY="" # Key used for Basic Auth with the API (default: "" for no auth)
PROMETHEUS_ADDRESS="" # Address for Prometheus metrics to be exposed (default: "" for no metrics)
RETENTION_IN_MIN=30 # Time in minutes to keep completed jobs for monitoring (default: 30)
MAX_RETRIES=3 # Number of times to retry a job before marking it as failed (default: 3)
TIMEOUT_IN_MIN=0 # How long a task can run before being killed (default: 0 for no limit)
### HadesScheduler Options ###
CONCURRENCY=1 # Number of jobs to run concurrently (default: 1)
FLUENTD_ADDR=localhost:24224 # Address of the Fluentd server
FLUENTD_MAX_RETRIES=3 # Number of times to retry sending logs to Fluentd (default: 3)
### DockerScheduler Options ###
DOCKER_HOST="unix:///var/run/docker.sock" # Docker host to connect to (default: unix:///var/run/docker.sock)
DOCKER_SCRIPT_EXECUTOR="/bin/bash -c" # Path to the script executor to use (default: /bin/sh)
DOCKER_CPU_LIMIT=2 # Number of CPUs to limit the container to (see Docker documentation for more info)
DOCKER_MEMORY_LIMIT=2g # Memory limit for the container (see Docker documentation for more info)
DOCKER_CONTAINER_AUTOREMOVE=true # Automatically remove containers after they finish running (default: true)