mirror of
https://github.com/morten-olsen/glados-voice.git
synced 2026-02-07 22:46:23 +01:00
init
This commit is contained in:
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
piper-glados:
|
||||
build: .
|
||||
container_name: piper-glados-medium
|
||||
ports:
|
||||
- "10200:5000"
|
||||
environment:
|
||||
# Wyoming Piper will automatically discover models in /usr/share/piper-voices/
|
||||
- PIPER_DEBUG=1
|
||||
command:
|
||||
[
|
||||
"--piper",
|
||||
"/usr/share/piper/piper",
|
||||
"--voice",
|
||||
"en_US-glados-medium",
|
||||
"--data-dir",
|
||||
"/usr/share/piper-voices",
|
||||
]
|
||||
restart: no
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:10200/api/voices || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
Reference in New Issue
Block a user