Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (63 loc) · 1.76 KB
/
Copy pathdocker-compose.yml
File metadata and controls
66 lines (63 loc) · 1.76 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
version: '3.8'
services:
# 1. Express Backend Data API
data-store:
image: ghcr.io/jason-fox/ast-data-store:${TAG:-latest}
build:
context: ./data-store
dockerfile: Dockerfile
container_name: data-store
ports:
- '4000:4000'
environment:
- PORT=4000
- DATA_DIR=/app/data
# optional bearer token guarding POST/PUT/DELETE /api/docs/<id>; unset = auth disabled
- AUTH_TOKEN=${AUTH_TOKEN:-}
volumes:
- ./data-store/data:/app/data
restart: unless-stopped
# 2. DITA MCP Server (HTTP Streamable Transport)
mcp-server:
image: ghcr.io/jason-fox/ast-mcp-server:${TAG:-latest}
build:
context: .
dockerfile: mcp-server/Dockerfile
container_name: mcp-server
ports:
- '4001:4001'
environment:
- PORT=4001
- DATA_DIR=/app/data
- BOOTSTRAP_THEME=default
- NAVBAR_THEME=dark
- NAVBAR_TEXT=dark
volumes:
- ./data-store/data:/app/data
restart: unless-stopped
# 3. Next.js Documentation Renderer & AI Assistant Portal
renderer:
image: ghcr.io/jason-fox/ast-renderer:${TAG:-latest}
build:
context: .
dockerfile: renderer/Dockerfile
container_name: renderer
ports:
- '3000:3000'
env_file:
- .env
environment:
- PORT=3000
- INTERNAL_DATA_URL=http://data-store:4000/data
- INTERNAL_API_URL=http://data-store:4000/api
- NEXT_PUBLIC_DATA_URL=http://localhost:4000/data
- NEXT_PUBLIC_API_URL=http://localhost:4000/api
- MCP_SERVER_URL=http://mcp-server:4001/mcp
- BOOTSTRAP_THEME=default
- NAVBAR_THEME=dark
- NAVBAR_TEXT=dark
- OPEN_GRAPH_URL=http://localhost:3000
depends_on:
- data-store
- mcp-server
restart: unless-stopped