solstice-ci/examples/etc/solstice/orchestrator.kdl
Till Wegmueller 11ce9cc881
Introduce centralized configuration handling via KDL and environment variables
This commit adds:
- A unified configuration system (`AppConfig`) that aggregates KDL files and environment variables with precedence handling.
- Example KDL configuration files for the orchestrator and forge-integration modules.
- Updates to orchestrator and forge-integration to load and apply configurations from `AppConfig`.
- Improved AMQP and database configuration with overlays from CLI, environment, or KDL.
- Deprecated `TODO.txt` as it's now represented in the configuration examples.
2025-11-06 23:48:03 +01:00

14 lines
478 B
Text

// Example orchestrator config in KDL. Place at /etc/solstice/orchestrator.kdl
GRPC_ADDR "0.0.0.0:50051"
HTTP_ADDR "0.0.0.0:8081"
DATABASE_URL "postgres://user:pass@localhost:5432/solstice"
AMQP_URL "amqp://127.0.0.1:5672/%2f"
AMQP_EXCHANGE "solstice.jobs"
AMQP_QUEUE "solstice.jobs.v1"
AMQP_ROUTING_KEY "jobrequest.v1"
AMQP_PREFETCH 32
LIBVIRT_URI "qemu:///system"
LIBVIRT_NETWORK "default"
MAX_CONCURRENCY 2
VM_PLACEHOLDER_RUN_SECS 3600
RUNNER_DIR "/var/lib/solstice/runners"