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
35 lines
737 B
YAML
35 lines
737 B
YAML
# Standard security mode worker configuration
|
|
# Normal sandbox, network isolation
|
|
host: localhost
|
|
port: 22
|
|
user: worker-user
|
|
base_path: /var/lib/fetchml
|
|
train_script: train.py
|
|
|
|
# Redis configuration
|
|
redis_url: redis://redis:6379
|
|
|
|
# Standard mode - normal security
|
|
compliance_mode: standard
|
|
max_workers: 2
|
|
|
|
# Sandbox settings (standard isolation)
|
|
sandbox:
|
|
network_mode: none
|
|
seccomp_profile: default
|
|
no_new_privileges: true
|
|
allowed_secrets:
|
|
- HF_TOKEN
|
|
- WANDB_API_KEY
|
|
- AWS_ACCESS_KEY_ID
|
|
- AWS_SECRET_ACCESS_KEY
|
|
|
|
# GPU configuration
|
|
gpu_vendor: none
|
|
|
|
# Artifact handling (reasonable limits)
|
|
max_artifact_files: 1000
|
|
max_artifact_total_bytes: 536870912 # 512MB
|
|
|
|
# Provenance (enabled)
|
|
provenance_best_effort: true
|