Files
rocm_vllm_nightly/docker-compose.yml
T
2026-03-29 16:49:09 +08:00

27 lines
555 B
YAML

services:
vllm:
build:
context: .
dockerfile: Dockerfile
image: rocm-vllm-inference:latest
container_name: rocm-vllm-openai
entrypoint: ["python"]
command: ["-m", "app.start_openai"]
ports:
- "8001:8001"
volumes:
- /opt/model:/opt/model:ro
- ./config.json:/workspace/config.json:ro
devices:
- /dev/kfd
- /dev/dri
group_add:
- video
ipc: host
shm_size: 16g
cap_add:
- SYS_PTRACE
security_opt:
- seccomp=unconfined
restart: unless-stopped