fetch_ml/configs/workers/worker-docker.yaml
Jeremie Fraeys 5a19358d00 Organize configs and scripts, create testing protocol
- Reorganize configs into environments/, workers/, deprecated/ folders
- Reorganize scripts into testing/, deployment/, maintenance/, benchmarks/ folders
- Add comprehensive testing guide documentation
- Add new Makefile targets: test-full, test-auth, test-status
- Update script paths in Makefile to match new organization
- Create testing protocol documentation
- Add cleanup status checking functionality

Testing framework now includes:
- Quick authentication tests (make test-auth)
- Full test suite runner (make test-full)
- Cleanup status monitoring (make test-status)
- Comprehensive documentation and troubleshooting guides
2025-12-06 13:08:15 -05:00

51 lines
1,006 B
YAML

# Worker configuration for Docker production-like testing
worker_id: "docker-test-worker-1"
# Redis configuration
redis:
url: "redis://redis:6379"
max_connections: 10
# Local mode settings
local_mode: false # Use Podman for containerized job execution
# Job paths
base_path: "/tmp/fetchml-jobs"
# Container workspace (not used in local mode)
container_workspace: "/workspace"
container_results: "/results"
# Podman settings (not used in local mode)
podman_image: "python:3.9-slim"
podman_cpus: "2"
podman_memory: "4g"
# Worker configuration
heartbeat_interval: "30s"
lease_duration: "5m"
max_concurrent_tasks: 1
# Data manager settings
data_manager:
enabled: false
base_path: "/data"
# SSH settings for Podman communication
ssh:
enabled: true
host: "localhost"
port: 2222
user: "worker"
password: "SecureWorkerPass2024!"
key_path: "/home/worker/.ssh/id_rsa"
# Logging
logging:
level: "info"
file: "/logs/worker.log"
# Metrics
metrics:
enabled: true
endpoint: ":9100"