-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
86 lines (83 loc) · 2.32 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
86 lines (83 loc) · 2.32 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
services:
odm:
image: icr.io/cpopen/odm-k8s/odm:9.6
hostname: odm
container_name: odm
environment:
- LICENSE=accept
healthcheck:
test: curl -k -f http://localhost:9060/decisioncenter/healthCheck || exit 1
interval: 5s
timeout: 10s
retries: 30
start_period: 10s
ports:
- 9060:9060
triggerDeployment:
image: icr.io/cpopen/odm-k8s/odm:9.6
container_name: upload_materials
depends_on:
odm:
condition: service_healthy
volumes:
- ./samples:/samples
entrypoint: >
sh -c "cd /samples/ && ./deploy_demo_materials.sh basic http://odm:9060/decisioncenter-api http://localhost:9060/res odmAdmin odmAdmin && echo '✅ ODM Ready for MCP Server' "
restart: "no"
ibm-odm-decision-mcp-server:
build:
context: .
dockerfile: Dockerfile
args:
BUILDKIT_INLINE_CACHE: 0
no_cache: true
image: ibm-odm-decision-mcp-server:latest
container_name: ibm-odm-decision-mcp-server
depends_on:
odm:
condition: service_healthy
ports:
- 3001:3000
secrets:
- odm_password
entrypoint: ["/bin/sh", "-c"]
command:
- |
exec ibm-odm-decision-mcp-server \
--transport streamable-http \
--url http://odm:9060/res \
--username resDeployer \
--password "$(cat /run/secrets/odm_password)" \
--trace-enable True \
--traces-dir /home/worker/traces
profiles: [ibm-odm-decision-mcp-server]
ibm-odm-decision-mcp-server-ubi:
build:
context: .
dockerfile: Dockerfile-ubi
args:
BUILDKIT_INLINE_CACHE: 0
no_cache: true
image: ibm-odm-decision-mcp-server-ubi:latest
container_name: ibm-odm-decision-mcp-server-ubi
depends_on:
odm:
condition: service_healthy
ports:
- 3001:3000
secrets:
- odm_password
entrypoint: ["/bin/sh", "-c"]
command:
- |
exec ibm-odm-decision-mcp-server \
--transport streamable-http \
--url http://odm:9060/res \
--username resDeployer \
--password "$(cat /run/secrets/odm_password)" \
--trace-enable True \
--traces-dir /home/worker/traces
profiles: [ibm-odm-decision-mcp-server-ubi]
secrets:
odm_password:
environment: ODM_PASSWORD