forked from kimimgo/parapilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (34 loc) · 1023 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (34 loc) · 1023 Bytes
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
services:
parapilot:
build: .
image: parapilot:latest
volumes:
- ${PARAPILOT_DATA_DIR:-./data}:/data:ro
- ${PARAPILOT_OUTPUT_DIR:-./output}:/output
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility,graphics
- PARAPILOT_RENDER_BACKEND=gpu
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
# Uncomment for HTTP transport:
# ports:
# - "8000:8000"
# command: ["mcp-server-parapilot", "--transport", "streamable-http", "--port", "8000"]
# CPU-only variant — no GPU required (OSMesa software rendering)
parapilot-cpu:
build:
context: .
dockerfile: Dockerfile.cpu
image: parapilot-cpu:latest
volumes:
- ${PARAPILOT_DATA_DIR:-./data}:/data:ro
- ${PARAPILOT_OUTPUT_DIR:-./output}:/output
environment:
- PARAPILOT_RENDER_BACKEND=cpu
- PARAPILOT_VTK_BACKEND=osmesa