mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-01 12:31:32 +00:00
## About The Pull Request Current setup will bind to every interface which makes it publically available. Also skips past most of the firewalling on linux. This improves the security for anyone who tries running TTS on their server directly out of the docker-compose file.
30 lines
645 B
YAML
30 lines
645 B
YAML
services:
|
|
tts-api:
|
|
container_name: tts-api
|
|
|
|
build: ./tts-api
|
|
ports:
|
|
- "127.0.0.1:5002:5002"
|
|
restart: always
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-sf", "http://localhost:5002/health-check"]
|
|
interval: 1s
|
|
timeout: 1s
|
|
retries: 3
|
|
start_period: 30s
|
|
links:
|
|
- "tts:tts-container"
|
|
tts:
|
|
container_name: tts
|
|
|
|
build: ./tts
|
|
restart: always
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-sf", "http://localhost:5003/health-check"]
|
|
interval: 1s
|
|
timeout: 1s
|
|
retries: 3
|
|
start_period: 30s
|
|
volumes:
|
|
- ./tts/persistent_data/tts_models:/root/tts_data
|