192 lines
4.9 KiB
YAML
192 lines
4.9 KiB
YAML
# =============================================================================
|
|
# BASIC CONFIGURATION
|
|
# =============================================================================
|
|
|
|
# Instance name — used to generate resource names (devcontainer-{name}, userhome-{name})
|
|
name: ""
|
|
|
|
# Container image configuration
|
|
image:
|
|
repository: ghcr.io/cpfarhood/devcontainer
|
|
tag: latest
|
|
pullPolicy: Always
|
|
|
|
# GitHub repository to clone into /workspace
|
|
githubRepo: ""
|
|
|
|
# =============================================================================
|
|
# ACCESS & INTERFACE
|
|
# =============================================================================
|
|
|
|
# IDE configuration
|
|
ide:
|
|
# Options: vscode | antigravity | none
|
|
type: vscode
|
|
|
|
# SSH access configuration
|
|
ssh:
|
|
enabled: false
|
|
|
|
# VNC display settings
|
|
display:
|
|
width: "1920"
|
|
height: "1080"
|
|
secureConnection: "0" # Set to "1" when TLS is not terminated upstream
|
|
|
|
# User configuration
|
|
user:
|
|
id: "1000"
|
|
groupId: "1000"
|
|
|
|
# =============================================================================
|
|
# INFRASTRUCTURE & RESOURCES
|
|
# =============================================================================
|
|
|
|
# Storage configuration
|
|
storage:
|
|
size: 32Gi
|
|
className: ceph-filesystem
|
|
|
|
# Resource allocation
|
|
resources:
|
|
requests:
|
|
memory: "2Gi"
|
|
cpu: "1000m"
|
|
limits:
|
|
memory: "8Gi"
|
|
cpu: "4000m"
|
|
|
|
# Shared memory for Electron apps (Chrome, Antigravity)
|
|
shm:
|
|
sizeLimit: 2Gi
|
|
|
|
# Kubernetes cluster access via RBAC
|
|
# Options: none | readonlyns | readwritens | readonly | readwrite
|
|
clusterAccess: none
|
|
|
|
# =============================================================================
|
|
# INTEGRATIONS
|
|
# =============================================================================
|
|
|
|
# Happy Coder AI assistant configuration
|
|
happy:
|
|
serverUrl: "https://happy.farh.net"
|
|
webappUrl: "https://happy-coder.farh.net"
|
|
homeDir: "/config/userdata/.happy"
|
|
experimental: "true"
|
|
|
|
# MCP (Model Context Protocol) server sidecars
|
|
mcp:
|
|
sidecars:
|
|
# Kubernetes API access
|
|
kubernetes:
|
|
enabled: true
|
|
image:
|
|
repository: quay.io/containers/kubernetes_mcp_server
|
|
tag: v0.0.57
|
|
port: 8080
|
|
resources:
|
|
requests:
|
|
memory: "64Mi"
|
|
cpu: "50m"
|
|
limits:
|
|
memory: "256Mi"
|
|
cpu: "500m"
|
|
|
|
# Flux GitOps operations
|
|
flux:
|
|
enabled: true
|
|
image:
|
|
repository: ghcr.io/controlplaneio-fluxcd/flux-operator-mcp
|
|
tag: v0.41.1
|
|
port: 8081
|
|
resources:
|
|
requests:
|
|
memory: "64Mi"
|
|
cpu: "50m"
|
|
limits:
|
|
memory: "256Mi"
|
|
cpu: "500m"
|
|
|
|
|
|
# Sequential thinking and problem-solving
|
|
sequentialthinking:
|
|
enabled: true
|
|
image:
|
|
repository: node
|
|
tag: 22-slim
|
|
port: 8083
|
|
resources:
|
|
requests:
|
|
memory: "64Mi"
|
|
cpu: "50m"
|
|
limits:
|
|
memory: "256Mi"
|
|
cpu: "500m"
|
|
|
|
# Home Assistant smart home control
|
|
homeassistant:
|
|
enabled: false # Requires HOMEASSISTANT_URL and HOMEASSISTANT_TOKEN
|
|
image:
|
|
repository: ghcr.io/homeassistant-ai/ha-mcp
|
|
tag: stable
|
|
port: 8087
|
|
resources:
|
|
requests:
|
|
memory: "64Mi"
|
|
cpu: "50m"
|
|
limits:
|
|
memory: "256Mi"
|
|
cpu: "500m"
|
|
|
|
# PostgreSQL performance tuning
|
|
pgtuner:
|
|
enabled: false # Requires DATABASE_URI in secrets
|
|
image:
|
|
repository: dog830228/pgtuner_mcp
|
|
tag: latest
|
|
port: 8085
|
|
resources:
|
|
requests:
|
|
memory: "64Mi"
|
|
cpu: "50m"
|
|
limits:
|
|
memory: "256Mi"
|
|
cpu: "500m"
|
|
|
|
# Browser automation and web testing
|
|
playwright:
|
|
enabled: true
|
|
image:
|
|
repository: mcr.microsoft.com/playwright/mcp
|
|
tag: latest
|
|
port: 8086
|
|
resources:
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "512Mi"
|
|
cpu: "1000m"
|
|
|
|
# =============================================================================
|
|
# SMART DEFAULTS & AUTO-DETECTION
|
|
# =============================================================================
|
|
|
|
# Environment auto-detection based on name patterns
|
|
# Automatically adjusts defaults for dev/test/prod/team environments
|
|
autoDetect:
|
|
environment: true # Auto-detect dev/prod/team from name
|
|
storageClass: true # Auto-detect ReadWriteMany storage class
|
|
resources: true # Auto-size resources based on enabled features
|
|
|
|
# Resource profiles (auto-selected based on environment and features)
|
|
# Override specific values above to customize
|
|
resourceProfile: auto # auto | small | medium | large | xlarge
|
|
|
|
# =============================================================================
|
|
# ADVANCED CONFIGURATION
|
|
# =============================================================================
|
|
|
|
# Custom env secret name (defaults to: devcontainer-{name}-secrets-env)
|
|
envSecretName: "" |