34 lines
954 B
YAML
34 lines
954 B
YAML
services:
|
|
sillytavern:
|
|
image: ghcr.io/sillytavern/sillytavern:latest
|
|
container_name: sillytavern
|
|
restart: unless-stopped
|
|
expose:
|
|
- "8000"
|
|
volumes:
|
|
- ./data:/home/node/app/data
|
|
- ./config:/home/node/app/config
|
|
- ./characters:/home/node/app/public/characters
|
|
- ./chats:/home/node/app/public/chats
|
|
- ./groups:/home/node/app/public/groups
|
|
- ./worlds:/home/node/app/public/worlds
|
|
- ./themes:/home/node/app/public/themes
|
|
- ./avatars:/home/node/app/public/User Avatars
|
|
- ./backups:/home/node/app/backups
|
|
- ./user:/home/node/app/public/user
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- SILLYTAVERN_PORT=8000
|
|
- SILLYTAVERN_HOST=0.0.0.0
|
|
networks:
|
|
- caddy_caddy-network
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
|
|
networks:
|
|
caddy_caddy-network:
|
|
external: true |