forked from malvex/mcp-server-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
97 lines (89 loc) · 2.42 KB
/
Copy pathdocker-compose.yml
File metadata and controls
97 lines (89 loc) · 2.42 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
87
88
89
90
91
92
93
94
95
96
97
# Generated by GitHub Copilot using Claude Sonnet 4.5
# Description: Docker Compose configuration for MCP Server for VS Code with N|Solid monitoring stack
version: '3.8'
services:
mcp-server-vscode:
build:
context: .
dockerfile: Dockerfile
container_name: mcp-server-vscode
environment:
- NSOLID_APPNAME=mcp-server-vscode
- NSOLID_TAGS=docker,production
- NSOLID_TRACING_ENABLED=1
- NSOLID_OTLP=otlp
- NSOLID_OTLP_CONFIG={"url":"http://otel-collector:4318/v1/traces","protocol":"http"}
- VSCODE_BRIDGE_PORT=8991
ports:
- "8991:8991"
networks:
- nsolid-network
restart: unless-stopped
depends_on:
- otel-collector
# OpenTelemetry Collector for receiving telemetry
otel-collector:
image: otel/opentelemetry-collector-contrib:latest
container_name: otel-collector
command: ["--config=/etc/otel-collector-config.yaml"]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP HTTP receiver
- "8888:8888" # Prometheus metrics
networks:
- nsolid-network
restart: unless-stopped
# ClickHouse for storing metrics and traces
clickhouse:
image: clickhouse/clickhouse-server:latest
container_name: clickhouse
environment:
- CLICKHOUSE_DB=nsolid
- CLICKHOUSE_USER=nsolid
- CLICKHOUSE_PASSWORD=nsolid
ports:
- "8123:8123" # HTTP interface
- "9000:9000" # Native interface
networks:
- nsolid-network
restart: unless-stopped
volumes:
- clickhouse-data:/var/lib/clickhouse
# N|Solid API backend
nsolid-api:
image: nodesource/nsolid-api:latest
container_name: nsolid-api
environment:
- PORT=3001
- CLICKHOUSE_HOST=clickhouse
- CLICKHOUSE_PORT=9000
- CLICKHOUSE_USER=nsolid
- CLICKHOUSE_PASSWORD=nsolid
ports:
- "3001:3001"
networks:
- nsolid-network
restart: unless-stopped
depends_on:
- clickhouse
# N|Solid UI dashboard
nsolid-ui:
image: nodesource/nsolid-ui:latest
container_name: nsolid-ui
environment:
- API_URL=http://nsolid-api:3001
- PORT=3002
ports:
- "3002:3002"
networks:
- nsolid-network
restart: unless-stopped
depends_on:
- nsolid-api
networks:
nsolid-network:
driver: bridge
volumes:
clickhouse-data: