-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (53 loc) · 1.36 KB
/
Copy pathdocker-compose.yml
File metadata and controls
58 lines (53 loc) · 1.36 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
version: '3.8'
services:
kubearchive-mcp:
build: .
container_name: kubearchive-mcp-server
environment:
- KUBEARCHIVE_ENDPOINT=${KUBEARCHIVE_ENDPOINT:-http://kubearchive:8080}
- MCP_TRANSPORT=${MCP_TRANSPORT:-http}
- MCP_HOST=0.0.0.0
- MCP_PORT=8000
- MCP_PATH=/mcp
ports:
- "8000:8000"
volumes:
- ./exports:/app/exports # For exported files
depends_on:
- kubearchive
restart: unless-stopped
networks:
- kubearchive-net
# Example KubeArchive service (you would replace this with your actual setup)
kubearchive:
image: kubearchive/kubearchive:latest # This is a placeholder
container_name: kubearchive-server
environment:
- DATABASE_URL=postgres://kubearchive:password@postgres:5432/kubearchive
ports:
- "8080:8080"
depends_on:
- postgres
restart: unless-stopped
networks:
- kubearchive-net
# Database for KubeArchive
postgres:
image: postgres:15
container_name: kubearchive-postgres
environment:
- POSTGRES_DB=kubearchive
- POSTGRES_USER=kubearchive
- POSTGRES_PASSWORD=password
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
restart: unless-stopped
networks:
- kubearchive-net
volumes:
postgres_data:
networks:
kubearchive-net:
driver: bridge