Файли
bdi_podman_serverconf/containers/chatterbox/chatterbox.container
T

39 рядки
839 B
INI

[Unit]
Description=Chatterbox Multilingual TTS Server
After=network-online.target
Wants=network-online.target
[Container]
Image=localhost/chatterbox:latest
ContainerName=chatterbox
Network=internal.network
# CPU-only container
#Memory=8g
#CPUs=4
# ROCm
AddDevice=/dev/kfd
AddDevice=/dev/dri/renderD128
PodmanArgs=--group-add=keep-groups --ipc=host --pids-limit=-1 --security-opt label=disable
SecurityLabelType=container_runtime_t
# HTTP API
PublishPort=8002:8000
# Persist downloaded model weights across restarts (adjust host path as needed)
Volume=/srv/containers/chatterbox/models:/app/models:Z
# Optional: tune voice generation (defaults: 0.5, 0.5)
#Environment=CHATTERBOX_EXAGGERATION=0.5
#Environment=CHATTERBOX_CFG_WEIGHT=0.5
[Service]
Restart=on-failure
RestartSec=5
TimeoutStartSec=300
[Install]
WantedBy=default.target