Files
rocm_vllm_nightly/docker-compose.yml
T

50 lines
1.1 KiB
YAML
Raw Normal View History

2026-03-29 05:06:19 +08:00
services:
inference:
build:
context: .
dockerfile: Dockerfile
image: rocm-vllm-inference:latest
container_name: rocm-vllm-inference
2026-03-29 05:31:19 +08:00
command: ["python", "-m", "app.start_api"]
2026-03-29 05:06:19 +08:00
ports:
- "8000:8000"
2026-03-29 05:22:25 +08:00
volumes:
- /opt/model:/opt/model:ro
2026-03-29 05:35:20 +08:00
- ./config.json:/workspace/config.json:ro
2026-03-29 05:22:25 +08:00
devices:
- /dev/kfd
- /dev/dri
group_add:
- video
ipc: host
shm_size: 16g
cap_add:
- SYS_PTRACE
security_opt:
- seccomp=unconfined
restart: unless-stopped
openai_api:
build:
context: .
dockerfile: Dockerfile
image: rocm-vllm-inference:latest
container_name: rocm-vllm-openai
command: ["python", "-m", "app.start_openai"]
ports:
- "8001:8001"
volumes:
- /opt/model:/opt/model:ro
2026-03-29 05:35:20 +08:00
- ./config.json:/workspace/config.json:ro
2026-03-29 05:06:19 +08:00
devices:
- /dev/kfd
- /dev/dri
group_add:
- video
ipc: host
shm_size: 16g
cap_add:
- SYS_PTRACE
security_opt:
- seccomp=unconfined
restart: unless-stopped