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
32 lines
493 B
Text
32 lines
493 B
Text
# Standalone Worker Configuration Example
|
|
# Copy this to worker.yaml and adjust for your environment
|
|
|
|
node:
|
|
role: "worker"
|
|
id: ""
|
|
|
|
worker:
|
|
mode: "standalone"
|
|
max_workers: 3
|
|
|
|
queue:
|
|
backend: "redis"
|
|
redis_addr: "localhost:6379"
|
|
redis_password: "" # Set if Redis requires auth
|
|
redis_db: 0
|
|
|
|
slots:
|
|
service_slots: 1
|
|
ports:
|
|
service_range_start: 8000
|
|
service_range_end: 8099
|
|
|
|
gpu:
|
|
vendor: "auto"
|
|
|
|
prewarm:
|
|
enabled: true
|
|
|
|
log:
|
|
level: "info"
|
|
format: "json"
|