Files
talemate/docker-entrypoint.sh
veguAI d0ebe95ca6 0.35.0 (#242)
Major features:
- Autonomous scene direction via director agent (replaces auto-direct)
- Inline image display in scene feed
- Character visuals tab for portrait/cover image management
- Character message avatars with dynamic portrait selection
- Pocket TTS and llama.cpp client support
- Message appearance overhaul with configurable markdown display

Improvements:
- KoboldCpp: adaptive-p, min-p, presence/frequency penalty support
- Setup wizard for initial configuration
- Director chat action toggles
- Visual agent: resolution presets, prompt revision, auto-analysis
- Experimental concurrent requests for hosted LLM clients
- Node editor alignment shortcuts (X/Y) and color picker

Bugfixes:
- Empty response retry loop
- Client system prompt display
- Character detail pins loading
- ComfyUI workflow charset encoding
- Various layout and state issues

Breaking: Removed INSTRUCTOR embeddings
2026-01-27 10:22:41 +02:00

39 lines
1.2 KiB
Bash

#!/bin/bash
set -e
#
# Talemate Docker Entrypoint
#
# Replaces environment variable placeholders in the frontend bundle
# at container startup, enabling runtime configuration.
#
# Environment Variables:
# VITE_TALEMATE_BACKEND_WEBSOCKET_URL - WebSocket URL for backend connection
# Leave empty/unset for auto-detection
#
TEMPLATE_FILE="/app/talemate_frontend/dist/index.template.html"
OUTPUT_FILE="/app/talemate_frontend/dist/index.html"
echo "============================================"
echo "Talemate Docker Entrypoint"
echo "============================================"
if [ -f "$TEMPLATE_FILE" ]; then
echo "Substituting environment variables..."
echo " VITE_TALEMATE_BACKEND_WEBSOCKET_URL: ${VITE_TALEMATE_BACKEND_WEBSOCKET_URL:-<not set, will auto-detect>}"
# Use envsubst to replace ${VAR} placeholders with actual values
envsubst < "$TEMPLATE_FILE" > "$OUTPUT_FILE"
echo "Runtime config applied to index.html"
else
echo "Warning: Template file not found, skipping envsubst"
fi
echo "Starting Talemate..."
echo "============================================"
# Execute the main command
exec "$@"