first commit: TTS Book Service with MiMo TTS integration
This commit is contained in:
27
docker-compose.yml
Normal file
27
docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
tts-book-service:
|
||||
build: .
|
||||
container_name: tts-book-service
|
||||
ports:
|
||||
- "17200:17200"
|
||||
environment:
|
||||
- MIMO_API_KEY=${MIMO_API_KEY}
|
||||
- MIMO_API_ENDPOINT=${MIMO_API_ENDPOINT:-https://api.xiaomimimo.com/v1/chat/completions}
|
||||
- MIMO_TTS_MODEL=${MIMO_TTS_MODEL:-mimo-v2-audio-tts}
|
||||
- MIMO_VOICE=${MIMO_VOICE:-mimo_default}
|
||||
- SERVER_PORT=17200
|
||||
volumes:
|
||||
- tts-data:/app/data
|
||||
- tts-audio:/app/audio
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512M
|
||||
cpus: "1.0"
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
tts-data:
|
||||
tts-audio:
|
||||
Reference in New Issue
Block a user