app:
  id: endurain
  name: Endurain
  version: 1.0.0
  description: Endurain application platform. Custom application runtime.
  
  container:
    image: archipelago/endurain:1.0.0
    image_signature: cosign://...
    pull_policy: if-not-present
    
  dependencies:
    - storage: 2Gi
    
  resources:
    cpu_limit: 2
    memory_limit: 1Gi
    disk_limit: 2Gi
    
  security:
    capabilities: []
    readonly_root: true
    network_policy: isolated
    apparmor_profile: endurain
    
  ports:
    - host: 8085
      container: 8080
      protocol: tcp  # Web UI
    
  volumes:
    - type: bind
      source: /var/lib/archipelago/endurain
      target: /app/data
      options: [rw]
      
  environment:
    - ENDURAIN_ENV=production
    - ENDURAIN_DATA_DIR=/app/data
    
  health_check:
    type: http
    endpoint: http://localhost:8085
    path: /health
    interval: 30s
    timeout: 5s
    retries: 3
