LogoLogo
  • ➡️ Introduction
    • Welcome to Vorta
  • Core Concepts
  • Architecture
  • How it's Made
  • 🚀 Getting Started
    • Prerequisites & Installation
    • Configuration
  • 💻 User Guide
    • Deploying & Managing Workloads
    • API Reference
Powered by GitBook
On this page
  1. 🚀 Getting Started

Configuration

Configuration**

config/mainframe.yaml (Example Snippet)

YAML

api:
  host: "0.0.0.0"
  port: 50051
scheduler:
  default_policy: "balanced-load"
  scoring_weights:
    epc_available: 0.3
    zk_perf: 0.4
logging:
  level: "debug"
database:
  url: ${DATABASE_URL} # References .env
attestation:
  provider: "dcap"
  trusted_mrenclaves:
    "zkp_verifier_v1": "abcdef123456..."

config/worker.yaml (Example Snippet)

YAML

node_id: "worker-01-datacenter-alpha"
manager_endpoint: "http://<mainframe-ip-or-dns>:50051"
logging:
  level: "info"
gramine:
  default_epc_size_mb: 90
resources:
  max_concurrent_enclaves: 5

gramine-manifests/worker.manifest.template (Simplified Example Snippet)

This template is customized per job by the worker.

Ini, TOML

loader.entrypoint = "file:{{entrypoint_binary}}"
libos.entrypoint = "{{application_binary}}"
fs.mounts = [
  { path = "/app", uri = "file:{{application_dir_path}}" }
]
sgx.enclave_size = "{{enclave_size_mb}}M"
sgx.trusted_files = [
  "file:{{application_dir_path}}/"
]
PreviousPrerequisites & InstallationNextDeploying & Managing Workloads

Last updated 24 days ago