serene-pub/docker-compose.dist.yml
2026-07-06 16:45:14 -07:00

38 lines
1.3 KiB
YAML

services:
serene-pub:
image: ghcr.io/doolijb/serene-pub:latest
restart: unless-stopped
ports:
- "3000:3000" # Web UI
- "3001:3001" # WebSocket server
volumes:
- serene-pub-data:/data
environment:
# Data directory inside the container (matches the volume mount above)
SERENE_PUB_DATA_DIR: /data
# HTTP port the web UI listens on (must match the left side of the ports mapping)
PORT: 3000
# WebSocket server port (must match the left side of the ports mapping)
SOCKETS_PORT: 3001
# Disable automatic browser launch (always disabled in containers)
SERENE_AUTO_OPEN: 1
# --- Optional overrides ---
# Session token lifetime in hours (default: 168 = 7 days)
# USER_TOKEN_EXPIRATION_HOURS: 168
# Override the directory where AI model caches (transformers) are stored.
# Defaults to $SERENE_PUB_DATA_DIR/transformers-cache, already inside the volume.
# TRANSFORMERS_CACHE: /data/transformers-cache
# KoboldCPP managed-mode binary directory (only needed for managed KoboldCPP).
# Mount your KoboldCPP binary into the container and set this path.
# See DOCKER.md for details.
# KOBOLDCPP_BINARY_DIR: /koboldcpp
volumes:
serene-pub-data: