Repository navigation
Expand file tree
/
Copy path.env.docker.example
More file actions
90 lines (83 loc) · 3.44 KB
/
Copy path.env.docker.example
File metadata and controls
90 lines (83 loc) · 3.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# ============================================================================
# Meta-Flow Docker Environment Configuration
# ============================================================================
# Copy this file to .env and add your API keys:
# cp .env.docker.example .env
# ============================================================================
# ============================================================================
# LLM Provider API Keys (at least ONE required)
# ============================================================================
# Option 1: Anthropic Claude (Recommended for best performance)
# Get your API key from: https://console.anthropic.com/
ANTHROPIC_API_KEY=
ANTHROPIC_MODEL=claude-haiku-4-5
# Option 2: AIMLAPI (OpenAI-compatible, supports multiple models)
# Get your API key from: https://aimlapi.com/
AIMLAPI_KEY=
AIMLAPI_MODEL=x-ai/grok-4-fast-reasoning
# Option 3: Google Gemini (Good alternative)
# Get your API key from: https://makersuite.google.com/app/apikey
GEMINI_API_KEY=
GEMINI_MODEL=gemini-2.5-pro
# ============================================================================
# Quick Start Guide
# ============================================================================
# 1. Copy this file to .env:
# cp .env.docker.example .env
#
# 2. Add at least ONE API key above (remove the empty value, add your key)
#
# 3. Start services using the interactive launcher:
# ./scripts/start.sh
#
# The launcher will let you choose:
# - Meta-Agent (Workflow Generator)
# - Chatbot (Interactive Assistant)
# - Both services
#
# Or use direct scripts:
# ./scripts/meta-agent-start.sh
# ./scripts/chatbot-start.sh
#
# 4. Access the applications:
#
# Meta-Agent (Workflow Generator):
# - Frontend: http://localhost:3001
# - Backend API: http://localhost:8000
# - API Docs: http://localhost:8000/api/docs
#
# Chatbot (Interactive Assistant):
# - Frontend: http://localhost:3002
# - Backend API: http://localhost:8001
# - API Docs: http://localhost:8001/api/docs
#
# 5. To stop services:
# ./scripts/stop.sh (interactive menu)
# OR
# ./scripts/meta-agent-stop.sh
# ./scripts/chatbot-stop.sh
# ============================================================================
# Notes
# ============================================================================
# - At least ONE of the above API keys is required for the system to work
# - The same API keys are used by both Meta-Agent and Chatbot services
# - The system will automatically detect which provider is configured
# - You can configure multiple providers for fallback/testing
# - Default models are shown above and can be customized
# - Models are validated at startup; invalid models will cause errors
# ============================================================================
# Troubleshooting
# ============================================================================
# If backend fails to start:
# - Check that at least one API key is configured
# - Verify the API key is valid (starts with correct prefix)
# - Check logs:
# docker compose logs backend (for meta-agent)
# docker compose -f docker-compose.chatbot.yml logs chatbot-backend
#
# If frontend can't connect to backend:
# - Ensure backend is healthy: docker compose ps
# - Test backend directly:
# curl http://localhost:8000/api/health (meta-agent)
# curl http://localhost:8001/health (chatbot)
# - Check nginx logs: docker compose logs frontend