32 lines
633 B
INI
32 lines
633 B
INI
[Unit]
|
|
Description=Qwentts (Text-to-Speech with Voice Cloning)
|
|
After=internal.network
|
|
Wants=internal.network
|
|
|
|
[Container]
|
|
Image=localhost/qwentts:vulkan-amd64
|
|
ContainerName=qwentts
|
|
Hostname=qwentts
|
|
Network=internal.network
|
|
PublishPort=127.0.0.1:8080:8080
|
|
|
|
Volume=/srv/containers/qwentts/models:/app/models:ro
|
|
Volume=/srv/containers/qwentts/output:/app/output:rw
|
|
|
|
# GPU access - AMD Vulkan
|
|
Device=/dev/dri:/dev/dri:rw
|
|
Device=/dev/kfd:/dev/kfd:rw
|
|
|
|
# Resource limits (adjust as needed)
|
|
Memory=16g
|
|
MemorySwap=24g
|
|
CPUQuota=50%
|
|
|
|
# Restart policy
|
|
Restart=on-failure
|
|
RestartMaxAttempts=5
|
|
RestartSec=10s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|