-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (46 loc) · 1.06 KB
/
Copy pathdocker-compose.yml
File metadata and controls
48 lines (46 loc) · 1.06 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
services:
platform:
build: .
ports:
- "8080:8080"
environment:
AX_PLATFORM_ADDR: ":8080"
LOG_LEVEL: info
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:8080/health"]
interval: 5s
timeout: 3s
retries: 5
start_period: 5s
writer:
build:
context: .
dockerfile: Dockerfile.agent
args:
AGENT_PKG: ./examples/company-b-writer
ports:
- "8082:8082"
environment:
AX_PLATFORM_URL: http://platform:8080
AX_API_KEY: ax_companyb_demo
AX_AGENT_URL: http://writer:8082
AX_AGENT_PORT: "8082"
depends_on:
platform:
condition: service_healthy
analyst:
build:
context: .
dockerfile: Dockerfile.agent
args:
AGENT_PKG: ./examples/company-c-analyst
ports:
- "8083:8083"
environment:
AX_PLATFORM_URL: http://platform:8080
AX_API_KEY: ax_companyc_demo
AX_AGENT_URL: http://analyst:8083
AX_AGENT_PORT: "8083"
depends_on:
platform:
condition: service_healthy