Files
Bubberstation/tools/tts/docker-compose.yml
Watermelon914 1c8299ab63 Updates the ports for the TTS docker compose file (#76333)
## 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.
2023-06-27 01:27:33 +00:00

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