forked from microsoft/agent-governance-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
74 lines (69 loc) · 1.43 KB
/
docker-compose.yml
File metadata and controls
74 lines (69 loc) · 1.43 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
version: '3.8'
services:
# Agent Control Plane Service
agent-control-plane:
build:
context: .
dockerfile: Dockerfile
target: production
container_name: acp-main
environment:
- ACP_DATA_DIR=/app/data
- ACP_LOG_LEVEL=INFO
volumes:
- acp-data:/app/data
- ./examples:/app/examples:ro
ports:
- "8000:8000"
restart: unless-stopped
networks:
- acp-network
healthcheck:
test: ["CMD", "python", "-c", "import agent_control_plane; print('healthy')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
# Development Environment (Optional)
acp-dev:
build:
context: .
dockerfile: Dockerfile
target: development
container_name: acp-dev
environment:
- ACP_DATA_DIR=/app/data
- ACP_LOG_LEVEL=DEBUG
volumes:
- .:/app
- acp-dev-data:/app/data
ports:
- "8001:8000"
- "8888:8888" # Jupyter
networks:
- acp-network
command: bash
profiles:
- dev
# Redis (for distributed agent coordination - optional)
redis:
image: redis:7-alpine
container_name: acp-redis
ports:
- "6379:6379"
volumes:
- redis-data:/data
networks:
- acp-network
profiles:
- distributed
volumes:
acp-data:
driver: local
acp-dev-data:
driver: local
redis-data:
driver: local
networks:
acp-network:
driver: bridge