Service Configuration
Scaffold allows for a whole slew of configuration options that can be configured via environment variables in the deployment
All configuration ENV variables start with SCAFFOLD_
Variable |
Description |
Default |
|---|---|---|
SCAFFOLD_WS_PORT |
DEPRECATED Websocket port for task shell |
8080 |
SCAFFOLD_LOG_LEVEL |
Log level to use during operation. Valid levels are |
|
SCAFFOLD_LOG_FORMAT |
Log format to output. Valid formats are |
|
SCAFFOLD_BASE_URL |
Service base URL |
|
SCAFFOLD_PODMAN_OPTS |
Options to pass to podman command in container tasks |
|
SCAFFOLD_ADMIN |
Default admin user configuration |
|
SCAFFOLD_DB_CONNECTION_STRING |
Connection string for MongoDB |
|
SCAFFOLD_NODE |
Node information. For workers change the type to |
|
SCAFFOLD_HEARTBEAT_INTERVAL |
How frequently to check for worker health in seconds |
|
SCAFFOLD_HEARTBEAT_BACKOFF |
How many retries before removing node |
|
SCAFFOLD_RESET |
Reset email configuration |
|
SCAFFOLD_FILESTORE |
Filestore configuration for use either with S3 or Artifactory. For Artifactory, change |
|
SCAFFOLD_TLS_ENABLED |
Should Scaffold run on https |
|
SCAFFOLD_TLS_SKIP_VERIFY |
Should Scaffold skip ssl verification in requests |
|
SCAFFOLD_TLS_CERT_PATH |
Path to mounted certificate for https |
|
SCAFFOLD_TLS_KEY_PATH |
Path to mounted key for https |
|
SCAFFOLD_RABBITMQ_CONNECTION_STRING |
Connection string for RabbitMQ |
|
SCAFFOLD_MANAGER_QUEUE_NAME |
Name of the queue for messages to the manager |
|
SCAFFOLD_WORKER_QUEUE_NAME |
Name of the queue for messages to the worker |
|
SCAFFOLD_KILL_QUEUE_NAME |
Name of the queue to pass task runs to be killed |
|
SCAFFOLD_PING_HEALTHY_THRESHOLD |
How many pings until node is considered not healthy |
|
SCAFFOLD_UNKNOWN_THRESHOLD |
How many pings until node is considered unknown status |
|
SCAFFOLD_PING_DOWN_THRESHOLD |
How many pings until node is considered down |
|
SCAFFOLD_CHECK_INTERVAL |
How frequently to check task status in milliseconds |
|
SCAFFOLD_RESTART_PERIOD |
How long in milliseconds before the service should restart itself. Set to |
|
SCAFFOLD_RUN_PRUNE_CRON |
Crontab to prune run histories |
|
SCAFFOLD_RUN_PRUNE_DURATION |
How long runs can stay around before being pruned in hours |
|