Deploy SillyTavern
Password-protected SillyTavern 1.19 LLM chat frontend with persistent data
SillyTavern
Just deployed
/data
Deploy and Host SillyTavern on Railway
SillyTavern is a locally installed, open-source web interface for chatting and role-playing with large language models. It connects to many back ends (OpenAI, Anthropic Claude, Google Gemini, OpenRouter, KoboldCpp, Ollama and more) and adds character cards, group chats, world info, prompt presets, extensions and image generation hooks.
About Hosting SillyTavern
SillyTavern is a single Node.js server that keeps everything (settings, characters, chats, presets, extensions) as files on disk, so hosting it means a persistent volume and keeping the server private. This template builds SillyTavern 1.19.0 from the official image, pinned by digest, through a small GitHub wrapper repo. It forces password protection with HTTP basic auth and generates the password for you, stores config, data, plugins, third-party extensions and backups on one Railway volume at /data, and serves a /healthz endpoint for Railway's health check. There is no database to run. You bring your own LLM provider API key and enter it in SillyTavern's API Connections panel.
Common Use Cases
- A private, always-on SillyTavern you can reach from any device or browser
- Role-play and character chat with your own API keys for OpenAI, Claude, Gemini or OpenRouter
- A front end for your own model server (KoboldCpp, Ollama, text-generation-webui) running elsewhere or on Railway
Dependencies for SillyTavern Hosting
- A Railway volume for SillyTavern's files (created by the template)
- An API key for at least one LLM provider, or a reachable self-hosted model server
Deployment Dependencies
- SillyTavern source and releases: https://github.com/SillyTavern/SillyTavern/releases
- SillyTavern documentation: https://docs.sillytavern.app/
- Official container image: https://github.com/SillyTavern/SillyTavern/pkgs/container/sillytavern
- Template wrapper repo: https://github.com/aalfath/sillytavern-railway-template
Implementation Details
- Log in with the username
adminand the password in the service's Variables tab (SILLYTAVERN_BASICAUTHUSER_PASSWORD). The container refuses to start if the password is empty. - Any other
config.yamlsetting can be set as a variable:SILLYTAVERN_plus the key in upper case, with dots as underscores (for exampleSILLYTAVERN_ENABLEUSERACCOUNTS=truefor multi-user accounts). - Updates to the wrapper repo (new SillyTavern versions) show up as an update notice in your Railway project. Your data stays on the volume.
Why Deploy SillyTavern on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying SillyTavern on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
SillyTavern
aalfath/sillytavern-railway-template
