feat: add voiceclone support (compose.yaml)
This commit is contained in:
parent
6b17decf13
commit
a0fea54e7a
1 changed files with 30 additions and 0 deletions
30
compose.yaml
30
compose.yaml
|
|
@ -32,3 +32,33 @@ services:
|
||||||
timeout: 30s
|
timeout: 30s
|
||||||
start_period: 180s
|
start_period: 180s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
|
tts-bridge:
|
||||||
|
build:
|
||||||
|
context: ./tts-bridge
|
||||||
|
image: local/automation1-tts-bridge:1.0.0
|
||||||
|
container_name: tts-bridge
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "0.0.0.0:8099:8099"
|
||||||
|
environment:
|
||||||
|
BUTLER_URL: http://10.4.1.116:8888
|
||||||
|
BUTLER_TOKEN_FILE: /run/secrets/butler_token
|
||||||
|
CLIENT_TOKEN_FILE: /run/secrets/client_token
|
||||||
|
DEFAULT_VOICE: deep_thought.mp3
|
||||||
|
volumes:
|
||||||
|
- /app-config/tts-bridge/butler-token:/run/secrets/butler_token:ro
|
||||||
|
- /app-config/tts-bridge/client-token:/run/secrets/client_token:ro
|
||||||
|
read_only: true
|
||||||
|
tmpfs:
|
||||||
|
- /tmp:size=16m,mode=1777
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8099/health', timeout=5)"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 20s
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue