tts-cache

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 14 Imported by: 0

README

TTS Cache

Description

This project is a text to speech cache for Google's Text to Speech API. It uses groupcache v2 for caching values in memory.

Docker Testing

Build

docker build -t tts-cache:latest .

Create Docker Network

docker network create tts-net

Run
docker run -p 8080:80 --net tts-net --env-file ./.env.0 -v "$(pwd)"/secrets:/secrets --rm --name tts-cache-0 tts-cache
docker run -p 8081:80 --net tts-net --env-file ./.env.1 -v "$(pwd)"/secrets:/secrets --rm --name tts-cache-1 tts-cache
docker run -p 8082:80 --net tts-net --env-file ./.env.2 -v "$(pwd)"/secrets:/secrets --rm --name tts-cache-2 tts-cache

You have to create .env.$(node) file with the necessary environment variables set.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL