fetch_ml/configs/worker/distributed/worker.yaml.example
Jeremie Fraeys 86f9ae5a7e
docs(config): reorganize configuration structure and add documentation
Restructure configuration files for better organization:
- Add scheduler configuration examples (scheduler.yaml.example)
- Reorganize worker configs into subdirectories:
  - distributed/ - Multi-node cluster configurations
  - standalone/ - Single-node deployment configs
- Add environment-specific configs:
  - dev-local.yaml, docker-dev.yaml, docker-prod.yaml
  - homelab-secure.yaml, worker-prod.toml
- Add deployment configs for different security modes:
  - docker-standard.yaml, docker-hipaa.yaml, docker-dev.yaml

Add documentation:
- configs/README.md with configuration guidelines
- configs/SECURITY.md with security configuration best practices
2026-02-26 12:04:11 -05:00

33 lines
651 B
Text

# Distributed Worker Configuration Example
# Copy this to worker.yaml and replace placeholders with real values
# DO NOT commit the actual worker.yaml with real tokens
node:
role: "worker"
id: "" # Auto-generated UUID if empty
worker:
mode: "distributed"
max_workers: 3
scheduler:
address: "192.168.1.10:7777"
cert: "/etc/fetch_ml/scheduler.crt"
# Copy token from scheduler config for this worker
token: "wkr_COPY_FROM_SCHEDULER_CONFIG"
slots:
service_slots: 1
ports:
service_range_start: 8000
service_range_end: 8099
gpu:
vendor: "auto"
prewarm:
enabled: true
log:
level: "info"
format: "json"