provisioning/schemas/platform/external-services.ncl

45 lines
1.2 KiB
Text
Raw Normal View History

# External Infrastructure Services Schema
# Defines the structure for databases, registries, CI/CD, and other external services
# These services are monitored but NOT managed by provisioning platform
{
# Individual external service configuration type
ExternalService = {
# Service name with type identifier (e.g., "svault_server-vault" where "vault" is the type)
name | String,
# Service type identifier (vault, dbs, git, register, cdci, etc.)
srvc | String,
# Human-readable description
desc | String,
# Service endpoint URL (http://host:port)
url | String,
# Service port number
port | Number,
# Whether this service is required for platform operation
required | Bool | default = false,
# List of service names this service depends on
dependencies | Array String | default = [],
# Optional binary path for local services
binary_path | String | optional,
# Optional startup command for local services
startup_command | String | optional,
# Health check timeout in seconds
health_check_timeout | Number | optional,
# Optional environment variables for the service
env | {} | optional,
# Allow extra fields for extensibility
..
},
}