provisioning/config/templates/platform-target.yaml.template

102 lines
2.7 KiB
Plaintext
Raw Normal View History

"""
Platform Services Configuration - YAML Format
This file configures which platform services are enabled for this workspace
and how to connect to them. It enables multi-workspace scenarios:
- Isolated: Each workspace has own orchestrator instance
- Shared: Multiple workspaces connect to same orchestrator
- Remote: Connect to centralized platform services
Naming Convention: {{WORKSPACE_NAME}}-{{MODE}} (e.g., "librecloud-local-dev")
For documentation: docs/architecture/platform-target-system.md
"""
platform:
name: "{{WORKSPACE_NAME}}-local-dev"
type: "local" # local, shared, or remote
mode: "development" # development, staging, or production
services:
orchestrator:
enabled: true
endpoint: "http://localhost:9090"
deployment_mode: "binary" # binary, docker, systemd, remote
auto_start: true
required: true # Fail activation if unavailable
data_dir: ".orchestrator" # Relative to workspace root
health_check:
endpoint: "/health"
timeout_ms: 5000
control-center:
enabled: false # Optional by default
endpoint: "http://localhost:9080"
deployment_mode: "binary"
auto_start: false
required: false
health_check:
endpoint: "/health"
timeout_ms: 5000
kms-service:
enabled: true
endpoint: "http://localhost:8090"
deployment_mode: "binary"
auto_start: true
required: true
backend: "age" # age, rustyvault, aws, vault, cosmian
health_check:
endpoint: "/health"
timeout_ms: 5000
mcp-server:
enabled: false
endpoint: "http://localhost:8082"
deployment_mode: "binary"
auto_start: false
required: false
health_check:
endpoint: "/health"
timeout_ms: 5000
api-gateway:
enabled: false
endpoint: "http://localhost:8080"
deployment_mode: "docker"
auto_start: false
required: false
health_check:
endpoint: "/health"
timeout_ms: 5000
extension-registry:
enabled: false
endpoint: "http://localhost:8085"
deployment_mode: "docker"
auto_start: false
required: false
health_check:
endpoint: "/health"
timeout_ms: 5000
provisioning-server:
enabled: false
endpoint: "http://localhost:9091"
deployment_mode: "binary"
auto_start: false
required: false
health_check:
endpoint: "/health"
timeout_ms: 5000
provctl-bridge:
enabled: false
endpoint: "http://localhost:9092"
deployment_mode: "binary"
auto_start: false
required: false
health_check:
endpoint: "/health"
timeout_ms: 5000