-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
74 lines (69 loc) · 1.98 KB
/
docker-compose.yml
File metadata and controls
74 lines (69 loc) · 1.98 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
services:
# 1. The Frontend (Algorave Hub)
hub:
build:
context: .
dockerfile: docker/algorave-app/Dockerfile
image: algorave/hub:latest
container_name: algorave-hub
ports:
- "3000:3000"
volumes:
- ./examples:/app/public/examples
- ./web/public/doc:/app/public/doc
- ./web/public/presentation.html:/app/public/presentation.html
environment:
- NODE_ENV=production
- MCP_SERVER_HOST=strudel-mcp
- MCP_SERVER_PORT=3001
- OPENAI_API_KEY=${OPENAI_API_KEY}
- GEMINI_API_KEY=${GEMINI_API_KEY}
networks:
- algorave_network
# 3. BASE SERVICE: Builds the vanilla local fork
# Image Name: algorave/mcp-base:latest
mcp-base:
build:
context: ./strudel-mcp-server
# dockerfile: Dockerfile (default)
image: algorave/mcp-base:latest
container_name: mcp-base-builder
entrypoint: [ "/bin/true" ]
networks:
- algorave_network
# 4. BRIDGE SERVICE: Derived from Base
# Image Name: algorave/mcp-bridge:latest
strudel-mcp:
build:
context: .
dockerfile: docker/strudel-mcp/Dockerfile
container_name: algorave-mcp
image: algorave/mcp-bridge:latest
ports:
- "3001:3001"
environment:
- PORT=3001
networks:
- algorave_network
restart: unless-stopped
depends_on:
- mcp-base
# 5. Strudel Web (Offline REPL)
strudel-web:
build:
context: .
dockerfile: docker/strudel-web/Dockerfile
container_name: algorave-strudel
ports:
- "4321:4321"
networks:
- algorave_network
# 6. Documentation Builder (Pandoc)
docs:
image: pandoc/core
volumes:
- .:/data
command: [ "WORKSHOP.md", "-t", "revealjs", "-s", "-o", "dist/presentation.html", "-V", "theme=black", "-V", "revealjs-url=https://unpkg.com/reveal.js", "--slide-level=2", "--css=doc/custom.css" ]
networks:
algorave_network:
driver: bridge