app:
  id: web5-dwn
  name: Decentralized Web Node
  version: 1.0.0
  description: Personal data store for Web5. Store and sync your decentralized data across devices.
  
  container:
    image: archipelago/web5-dwn:1.0.0
    image_signature: cosign://...
    pull_policy: if-not-present
    
  dependencies:
    - storage: 5Gi
    
  resources:
    cpu_limit: 1
    memory_limit: 512Mi
    disk_limit: 5Gi
    
  security:
    capabilities: []
    readonly_root: true
    network_policy: isolated
    apparmor_profile: web5-dwn
    
  ports:
    - host: 3000
      container: 3000
      protocol: tcp  # HTTP API
    
  volumes:
    - type: bind
      source: /var/lib/archipelago/web5-dwn
      target: /app/data
      options: [rw]
      
  environment:
    - DWN_STORAGE_PATH=/app/data
    - DID_METHOD=key
    
  health_check:
    type: http
    endpoint: http://localhost:3000
    path: /health
    interval: 30s
    timeout: 5s
    retries: 3
    
  web5_integration:
    did_support: true
    dwn_protocol: true
    sync_enabled: true
