-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
98 lines (91 loc) · 2.24 KB
/
docker-compose.yml
File metadata and controls
98 lines (91 loc) · 2.24 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
91
92
93
94
95
96
97
98
# AI-Dev-Agent Development Environment
# ====================================
#
# Complete development environment with all services
# Perfect for developer onboarding and testing
#
# Usage:
# docker-compose up -d # Start all services
# docker-compose exec ai-dev-agent bash # Enter container
# docker-compose down # Stop all services
#
version: '3.8'
services:
ai-dev-agent:
build: .
container_name: ai-dev-agent-system
ports:
- "8080:8080"
- "8888:8888" # For Jupyter if needed
volumes:
# Mount source code for development
- .:/app
# Persist generated projects
- ai-dev-agent-projects:/app/generated_projects
# Persist logs
- ai-dev-agent-logs:/app/logs
environment:
- CONTAINER_MODE=true
- DEVELOPMENT_MODE=true
- PYTHONPATH=/app
networks:
- ai-dev-agent-network
restart: unless-stopped
command: ["python", "run_demo.py"]
# Optional: Database for future persistence
database:
image: postgres:15-alpine
container_name: ai-dev-agent-db
environment:
POSTGRES_DB: ai_dev_agent
POSTGRES_USER: developer
POSTGRES_PASSWORD: dev_password_123
volumes:
- ai-dev-agent-db:/var/lib/postgresql/data
ports:
- "5432:5432"
networks:
- ai-dev-agent-network
restart: unless-stopped
# Optional: Redis for caching and queues
cache:
image: redis:7-alpine
container_name: ai-dev-agent-cache
ports:
- "6379:6379"
volumes:
- ai-dev-agent-cache:/data
networks:
- ai-dev-agent-network
restart: unless-stopped
# Optional: Web interface (future enhancement)
web-interface:
build: .
container_name: ai-dev-agent-web
ports:
- "3000:3000"
volumes:
- .:/app
environment:
- CONTAINER_MODE=true
- WEB_MODE=true
networks:
- ai-dev-agent-network
depends_on:
- ai-dev-agent
- database
- cache
restart: unless-stopped
command: ["python", "-m", "web.app"] # Future web interface
volumes:
ai-dev-agent-projects:
driver: local
ai-dev-agent-logs:
driver: local
ai-dev-agent-db:
driver: local
ai-dev-agent-cache:
driver: local
networks:
ai-dev-agent-network:
driver: bridge