63 lines
1.3 KiB
Markdown
63 lines
1.3 KiB
Markdown
# SillyTavern Docker Setup
|
|
|
|
This directory contains Docker configuration for SillyTavern, a frontend for AI chat.
|
|
|
|
## Quick Start
|
|
|
|
1. Ensure the Caddy network exists:
|
|
```bash
|
|
docker network create caddy-network
|
|
```
|
|
|
|
2. Start SillyTavern:
|
|
```bash
|
|
docker-compose up -d
|
|
```
|
|
|
|
3. Access SillyTavern:
|
|
- Local: http://localhost:8000
|
|
- Domain: https://silly.will123song.xyz (via Caddy reverse proxy)
|
|
|
|
## Configuration
|
|
|
|
- **API Keys**: Pre-configured with tokens from `~/docker/tokens.txt`
|
|
- **Reverse Proxy**: Configured in Caddy for `silly.will123song.xyz`
|
|
- **Persistent Data**: All user data, characters, and chats are stored in local volumes
|
|
|
|
## Volumes
|
|
|
|
- `./config` - SillyTavern configuration files
|
|
- `./characters` - Character definitions
|
|
- `./chats` - Chat history
|
|
- `./groups` - Group chats
|
|
- `./worlds` - World info
|
|
- `./themes` - Custom themes
|
|
- `./avatars` - User avatars
|
|
- `./backups` - Automatic backups
|
|
|
|
## API Support
|
|
|
|
Configured with the following AI APIs:
|
|
- OpenAI (GPT models)
|
|
- Anthropic Claude
|
|
- DeepSeek
|
|
- Kimi (Moonshot)
|
|
- Google Gemini
|
|
- Alpha Vantage (for financial data)
|
|
|
|
## Management
|
|
|
|
```bash
|
|
# View logs
|
|
docker-compose logs -f
|
|
|
|
# Restart service
|
|
docker-compose restart
|
|
|
|
# Stop service
|
|
docker-compose down
|
|
|
|
# Update image
|
|
docker-compose pull
|
|
docker-compose up -d
|
|
``` |