Files
Bubberstation/tools/tts
SkyratBot 2fd815f46e [MIRROR] Adds -y to upgrade in the docker files to prevent breakage (#27712)
* Adds -y to upgrade in the docker files to prevent breakage (#83198)

## About The Pull Request

Adds -y to upgrade in the docker files to prevent breakage
## Why It's Good For The Game

Prevents:

![image](https://github.com/tgstation/tgstation/assets/17237624/f5678b77-6e3a-4b83-9b95-18d51fd07573)

## Changelog
🆑
fix: Fixes error when running docker compose on apt upgrade
/🆑

* Adds -y to upgrade in the docker files to prevent breakage

---------

Co-authored-by: Dax Dupont <skyemenjou@gmail.com>
2024-05-16 06:30:27 +02:00
..

Basic documentation

To run follow these steps:

  1. Install Docker
  2. Run docker compose up -d in the ./tools/tts folder. This may take a while the first time.
  3. 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.