-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmcp.compose.yml
More file actions
83 lines (82 loc) · 2.27 KB
/
mcp.compose.yml
File metadata and controls
83 lines (82 loc) · 2.27 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
---
services:
gitlab-mcp:
# image: docker.io/knucklessg1/gitlab:latest
build:
context: . # Debug
dockerfile: debug.Dockerfile
container_name: gitlab-mcp
hostname: gitlab-mcp
command: [ "gitlab-mcp" ]
dns:
- "${IP_DNS:-1.1.1.1}"
extra_hosts:
- "host.docker.internal:host-gateway"
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
restart: always
env_file:
- .env
environment:
- "PYTHONUNBUFFERED=1"
- "HOST=0.0.0.0"
- "PORT=8017"
- "TRANSPORT=streamable-http"
- "GITLAB_URL=${GITLAB_URL}"
- "GITLAB_TOKEN=${GITLAB_TOKEN}"
- "GITLAB_SSL_VERIFY=${GITLAB_SSL_VERIFY}"
ports:
- "8017:8017"
healthcheck:
test: [ "CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8017/health')" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
gitlab-agent:
# image: docker.io/knucklessg1/gitlab:latest
build:
context: . # Debug
dockerfile: debug.Dockerfile
container_name: gitlab-agent
hostname: gitlab-agent
command: [ "gitlab-agent" ]
extra_hosts:
- "host.docker.internal:host-gateway"
dns:
- "${IP_DNS:-1.1.1.1}"
depends_on:
gitlab-mcp:
condition: service_healthy
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
restart: always
env_file:
- .env
environment:
- "PYTHONUNBUFFERED=1"
- "HOST=0.0.0.0"
- "PORT=9017"
# - "MCP_CONFIG=./gitlab_api/mcp_config.json" # Optionally specify your own file - Default will use MCP_URL in the pre-packaged mcp_config.json
- "MCP_URL=http://gitlab-mcp:8017/mcp"
- "PROVIDER=openai"
- "LLM_BASE_URL=${LLM_BASE_URL:-http://host.docker.internal:1234/v1}"
- "LLM_API_KEY=${LLM_API_KEY:-llama}"
- "MODEL_ID=${MODEL_ID:-nvidia/nemotron-3-super}"
- "DEBUG=False"
- "ENABLE_WEB_UI=True"
- "ENABLE_OTEL=True"
ports:
- "9017:9017"
healthcheck:
test: [ "CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:9017/health')" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s