mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-15 04:01:41 +00:00
* Fixes tts docker (#81899) ## About The Pull Request Thank you goof very cool couldn't actually test it because my docker build kept hanging when i tried ## Why It's Good For The Game ## Changelog 🆑 fix: fixed some errors with the prepackaged tts /🆑 Co-authored-by: TiviPlus <572233640+TiviPlus@ users.noreply.com> * Fixes tts docker --------- Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com> Co-authored-by: TiviPlus <572233640+TiviPlus@ users.noreply.com> Co-authored-by: Pinta <68373373+softcerv@users.noreply.github.com>
Basic documentation
To run follow these steps:
- Install Docker
- Run
docker compose up -din the ./tools/tts folder. This may take a while the first time. - To build the container after making any changes to the non-persistent files, you can do
docker compose build
If you are testing on local
Once it's running, edit your config so that TTS_HTTP_URL is set to http://localhost:5002 and TTS_HTTP_TOKEN is set to coolio
If you are deploying to prod
Edit your config so that TTS_HTTP_URL is a http request to your TTS server (whether that be localhost, an ip address or a domain) on port 5002 and TTS_HTTP_TOKEN is set to a random string value. You'll also need to modify the tts-api.py file and set the authorization_token variable to whatever you've set your TTS_HTTP_TOKEN to. This is to prevent unauthorized requests.