forked from livehybrid/splunk-mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (44 loc) · 1.18 KB
/
docker-compose.yml
File metadata and controls
45 lines (44 loc) · 1.18 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
services:
mcp:
build: .
ports:
- "${PUBLISH_PORT:-8001}:8001"
environment:
- SPLUNK_HOST=${SPLUNK_HOST}
- SPLUNK_PORT=${SPLUNK_PORT:-8089}
- SPLUNK_USERNAME=${SPLUNK_USERNAME}
- SPLUNK_PASSWORD=${SPLUNK_PASSWORD}
- SPLUNK_TOKEN=${SPLUNK_TOKEN}
- SPLUNK_SCHEME=${SPLUNK_SCHEME:-https}
- FASTMCP_PORT=8001
- FASTMCP_LOG_LEVEL=${FASTMCP_LOG_LEVEL:-INFO}
- DEBUG=${DEBUG:-false}
- MODE=sse
volumes:
- ./config:/app/config
healthcheck:
test: ["CMD", "curl", "-I", "http://localhost:8001/sse"]
interval: 5s
timeout: 3s
retries: 5
start_period: 5s
test:
build:
context: .
dockerfile: Dockerfile.test
depends_on:
mcp:
condition: service_healthy
environment:
- SPLUNK_HOST=${SPLUNK_HOST}
- SPLUNK_PORT=${SPLUNK_PORT:-8089}
- SPLUNK_USERNAME=${SPLUNK_USERNAME}
- SPLUNK_PASSWORD=${SPLUNK_PASSWORD}
- SPLUNK_TOKEN=${SPLUNK_TOKEN}
- SPLUNK_SCHEME=${SPLUNK_SCHEME:-https}
- FASTMCP_PORT=8001
- SSE_BASE_URL=http://mcp:8001
- DEBUG=true
volumes:
- .:/app
- ./test-results:/app/test-results