docs: Update README and fix worker startup instructions

README updates:
- Update docker compose command (now main docker-compose.yml)
- Remove obsolete insecure registries section (MinIO replaces local registry)
- Add .env configuration section for AI agent API keys

Worker management fixes:
- Add worker_service field to API response (backend)
- Fix CLI help message to use correct service name with 'docker compose up -d'
- Use modern 'docker compose' syntax instead of deprecated 'docker-compose'

This ensures users get correct instructions when workers aren't running.
This commit is contained in:
tduhamel42
2025-10-16 12:12:49 +02:00
parent 7def4964a6
commit 19cb0a4d02
3 changed files with 13 additions and 29 deletions

View File

@@ -385,13 +385,14 @@ def execute_workflow(
# Ensure worker is running
worker_container = worker_info["worker_container"]
worker_service = worker_info.get("worker_service", f"worker-{worker_info['vertical']}")
if not worker_mgr.ensure_worker_running(worker_info, auto_start=should_auto_start):
console.print(
f"❌ Worker not available: {worker_info['vertical']}",
style="red"
)
console.print(
f"💡 Start the worker manually: docker-compose start {worker_container}"
f"💡 Start the worker manually: docker compose up -d {worker_service}"
)
raise typer.Exit(1)