-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
141 lines (136 loc) · 3.36 KB
/
docker-compose.yml
File metadata and controls
141 lines (136 loc) · 3.36 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
services:
temporal-dev-server:
container_name: temporal-dev-server
image: temporalio/temporal:latest
command:
["server", "start-dev", "--ip", "0.0.0.0", "--namespace", "default"]
ports:
- 7233:7233
- 8233:8233
networks:
- docker-network
healthcheck:
test:
[
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:8233",
]
interval: 10s
timeout: 30s
retries: 3
agent-chat-server:
container_name: agent-chat-server
build:
context: ./agent-chat-server
dockerfile: Dockerfile
ports:
- 3000:3000
environment:
- TEMPORAL_HOST_PORT=temporal-dev-server:7233
- TEMPORAL_NAMESPACE=default
- TEMPORAL_TASK_QUEUE=bitovi-ai-agents-workshop
- PORT=3000
networks:
- docker-network
depends_on:
temporal-dev-server:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:3000/ || exit 1"]
interval: 30s
timeout: 10s
retries: 3
bitovi-qdrant:
container_name: bitovi-qdrant
image: qdrant/qdrant:latest
ports:
- 6333:6333
- 6334:6334
restart: always
environment:
- QDRANT__SERVICE__HTTP_PORT=6333
- QDRANT__SERVICE__GRPC_PORT=6334
volumes:
- qdrant_data:/qdrant/storage
networks:
- docker-network
healthcheck:
test:
[
"CMD-SHELL",
"apt update && apt install -y curl && curl --fail http://localhost:6333/readyz || exit 1",
]
interval: 30s
timeout: 10s
retries: 5
postgres:
container_name: postgres-db
image: postgres:14-bookworm
command: postgres -c 'max_connections=200'
networks:
- docker-network
ports:
- 5432:5432
restart: always
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_PASSWORD=dbpassword
- POSTGRES_USER=dbuser
- POSTGRES_DB=workshop
healthcheck:
test: ["CMD-SHELL", "pg_isready -U dbuser -d workshop"]
interval: 10s
timeout: 5s
retries: 5
mock-mcp-server-ts:
container_name: mock-mcp-server-ts
build:
context: ./mock-mcp-server-ts
dockerfile: Dockerfile
ports:
- 8090:8090
networks:
- docker-network
healthcheck:
test: ["CMD-SHELL", "curl --fail http://localhost:8090/readyz || exit 1"]
interval: 30s
timeout: 10s
retries: 3
support-agent-server:
container_name: support-agent-server
build:
context: ./support-agent-server
dockerfile: Dockerfile
ports:
- 4000:4000 # HTTP/JSON-RPC
- 4001:4001 # gRPC
environment:
- HTTP_PORT=4000
- GRPC_PORT=4001
- HOST=localhost
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN}
- AWS_REGION=${AWS_REGION:-us-east-1}
- AWS_MODEL_ID=${AWS_MODEL_ID:-openai.gpt-oss-safeguard-120b}
networks:
- docker-network
healthcheck:
test:
[
"CMD-SHELL",
"curl -f http://localhost:4000/.well-known/agent-card.json || exit 1",
]
interval: 30s
timeout: 10s
retries: 3
networks:
docker-network:
driver: bridge
volumes:
qdrant_data:
driver: local