-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
64 lines (61 loc) · 1.35 KB
/
docker-compose.yaml
File metadata and controls
64 lines (61 loc) · 1.35 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
---
services:
server:
build:
context: ../..
dockerfile: examples/Dockerfile.server
args:
AGENT_NAME: streaming-agent
AGENT_DESCRIPTION: An agent that streams responses in real-time
AGENT_VERSION: 0.1.0
EXAMPLE_PATH: examples/streaming
COMPONENT: server
ports:
- "8080:8080"
environment:
ENVIRONMENT: development
A2A_SERVER_PORT: 8080
A2A_DEBUG: true
A2A_CAPABILITIES_STREAMING: true
A2A_CAPABILITIES_PUSH_NOTIFICATIONS: false
healthcheck:
test:
- CMD
- curl
- --fail
- --silent
- http://localhost:8080/health
interval: 5s
timeout: 3s
retries: 5
start_period: 10s
networks:
- a2a-network
client:
build:
context: ../..
dockerfile: examples/Dockerfile.client
args:
EXAMPLE_PATH: examples/streaming
COMPONENT: client
depends_on:
server:
condition: service_healthy
environment:
SERVER_URL: http://server:8080
networks:
- a2a-network
a2a-debugger:
image: ghcr.io/inference-gateway/a2a-debugger:latest
pull_policy: always
entrypoint:
- /a2a
- --server-url
- http://server:8080
networks:
- a2a-network
profiles:
- manual
networks:
a2a-network:
driver: bridge