-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (44 loc) · 1.33 KB
/
docker-compose.yml
File metadata and controls
45 lines (44 loc) · 1.33 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
services:
game-builder:
build: .
env_file:
- .env
volumes:
- ./outputs:/app/outputs
environment:
- BATCH_MODE=true
- OUTPUT_DIR=/app/outputs
stdin_open: true
tty: true
entrypoint: ["python", "-m", "app.main"]
command: ["--help"]
# Usage:
# docker-compose run game-builder build --idea "make a space shooter" --batch
# docker-compose run game-builder build --idea "dodge game" --interactive
# MCP Server mode — for AI assistant integration (Claude Desktop, VS Code, Cursor)
game-builder-mcp:
build: .
env_file:
- .env
volumes:
- ./outputs:/app/outputs
environment:
- BATCH_MODE=true
- OUTPUT_DIR=/app/outputs
stdin_open: true
entrypoint: ["python", "-m", "app.mcp_server"]
command: []
# This service runs the MCP server over stdio transport.
# MCP clients connect by launching this container and piping stdin/stdout.
#
# Claude Desktop config:
# "game-builder": {
# "command": "docker",
# "args": ["run", "-i", "--rm", "-e", "OPENAI_API_KEY", "game-builder-mcp"]
# }
#
# VS Code MCP config:
# "game-builder-docker": {
# "command": "docker",
# "args": ["run", "-i", "--rm", "-e", "OPENAI_API_KEY", "-v", "./outputs:/app/outputs", "game-builder-mcp"]
# }