mirror of
https://github.com/matatonic/openedai-speech
synced 2025-06-26 18:16:32 +00:00
27 lines
541 B
YAML
27 lines
541 B
YAML
services:
|
|
server:
|
|
build:
|
|
dockerfile: Dockerfile
|
|
args:
|
|
- USE_ROCM=1
|
|
image: ghcr.io/matatonic/openedai-speech-rocm
|
|
env_file: speech.env
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- ./voices:/app/voices
|
|
- ./config:/app/config
|
|
# To install as a service
|
|
restart: unless-stopped
|
|
# For AMD GPU (ROCm) Support
|
|
cap_add:
|
|
- SYS_PTRACE
|
|
devices:
|
|
- /dev/kfd
|
|
- /dev/dri
|
|
security_opt:
|
|
- seccomp=unconfined
|
|
group_add:
|
|
- video
|
|
- audio
|
|
ipc: host |