Self-host SillyTavern with Levelrail

A local chat front end for language models with characters, lorem books and extensions, bringing your own model API. AGPL-3.0 licensed. Sign in with the admin user and the generated password.

  • AuthorSillyTavern
  • LicenceAGPL-3.0-only
  • Memory256 MiB
  • Services1

How to self-host SillyTavern

  1. Pull the images

    One image is pulled on your server.

    Show images
    • ghcr.io/sillytavern/sillytavern:1.19.0
  2. Create the app

    One service starts in a single Compose app, with 2 named volume mounts for your data, on port 8000.

  3. Fill in the secrets

    1 secret is generated and stored encrypted, 4 settings are preset, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

After the first start

  • Sign in with user admin and the generated password, then add your model API key under API Connections.

SillyTavern requirements

Memory
About 256 MiB
Architectures
amd64 unknown, arm64 unknown
Ports
8000
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
AGPL-3.0-only, network copyleft (agpl) license
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then SillyTavern. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the SillyTavern docs page.

Deploy SillyTavern your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy SillyTavern from the CLI

levelrail-cli templates deploy sillytavern --name my-sillytavern

Deploy SillyTavern with the API

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/sillytavern/deploy

SillyTavern configuration

SillyTavern services

ServiceImagePortsVolumes
sillytavern ghcr.io/sillytavern/sillytavern:1.19.0 8000 config -> /home/node/app/configdata -> /home/node/app/data

SillyTavern environment variables

VariableServiceValue
SILLYTAVERN_BASICAUTHMODE sillytavern Preset by the template
SILLYTAVERN_BASICAUTHUSER_PASSWORD sillytavern Generated at deploy
SILLYTAVERN_BASICAUTHUSER_USERNAME sillytavern Preset by the template
SILLYTAVERN_LISTEN sillytavern Preset by the template
SILLYTAVERN_WHITELISTMODE sillytavern Preset by the template

Ports and volumes

Ports
8000
Volumes
2 named mounts: config -> /home/node/app/config, data -> /home/node/app/data

SillyTavern FAQ

How much memory does SillyTavern need?

The catalog lists about 256 MiB of memory for SillyTavern.

Does SillyTavern run on arm64?

For SillyTavern, arm64 support is not confirmed; amd64 is unknown.

What licence is SillyTavern under?

SillyTavern is licensed under AGPL-3.0-only, which is network copyleft, so source sharing also applies when it is offered as a hosted service.

Does SillyTavern need configuration before it starts?

No. The template fills in its own defaults and generates secrets at deploy time.

Which ports does SillyTavern use?

SillyTavern listens on port 8000 inside the stack.

Where does SillyTavern keep its data?

In named volumes: config mounted at /home/node/app/config and data mounted at /home/node/app/data.

Can I deploy SillyTavern on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for SillyTavern, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image ghcr.io/sillytavern/sillytavern:1.19.0 is what you deploy there.

levelrail-cli templates deploy sillytavern --name my-sillytavern