Skip to content

Instantly share code, notes, and snippets.

@rampadc
Created October 6, 2025 15:00
Show Gist options
  • Select an option

  • Save rampadc/9a983d197b09d1fd402204fbe69a8639 to your computer and use it in GitHub Desktop.

Select an option

Save rampadc/9a983d197b09d1fd402204fbe69a8639 to your computer and use it in GitHub Desktop.
storyteller v1 tts docker compose
# Example compose config for Storyteller
services:
web:
image: docker.io/rampadc/storyteller-v1-tts:latest
# Uncomment for CUDA
# runtime: nvidia
volumes:
# This can be whatever you like; you can even use a
# named volume rather than a bind mount, though it's easier
# to inspect the files with a mount.
# If you're running on macOS or Windows, you may want to
# consider using a named volume, which will considerably
# improve filesystem I/O performance. See these VS Code
# docs for more information:
# https://code.visualstudio.com/remote/advancedcontainers/improve-performance#_use-a-targeted-named-volume
- ~/Documents/Storyteller:/data:rw
environment:
- STORYTELLER_SECRET_KEY_FILE=/run/secrets/secret_key
- STORYTELLER_API_HOST=http://localhost:8001
ports:
- "8001:8001"
secrets:
- secret_key
secrets:
secret_key:
# Generate a cryptopgraphically secure random string,
# e.g. with:
# openssl rand -base64 32
# and put it in this file
file: ./STORYTELLER_SECRET_KEY.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment