mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 21:30:41 +00:00
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.
14 lines
478 B
Text
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"
|