A Claude subscription can't be used by the app, so let it use any cheap
vision model on OpenRouter instead (default google/gemini-3.1-flash-lite,
OPENROUTER_MODEL to change). The Anthropic API stays available as the
second choice. Both providers share the prompt and live behind one
{ name, model, transcribe } interface in server/providers.mjs; OpenRouter
retries 408/429/5xx and network errors and turns 401/402/404 into
messages the editor can show.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gVRDXpoukzgMFumoJt
24 lines
921 B
YAML
24 lines
921 B
YAML
# One-click deploy: `docker compose up -d` (or `podman compose up -d`).
|
|
# Settings come from the environment or a .env file next to this one; see .env.example.
|
|
services:
|
|
theater-reader:
|
|
build: .
|
|
image: theater-reader:latest
|
|
restart: unless-stopped
|
|
environment:
|
|
OPENROUTER_API_KEY: ${OPENROUTER_API_KEY:-}
|
|
OPENROUTER_MODEL: ${OPENROUTER_MODEL:-google/gemini-3.1-flash-lite}
|
|
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}
|
|
UPLOAD_PASSWORD: ${UPLOAD_PASSWORD:-}
|
|
CLAUDE_MODEL: ${CLAUDE_MODEL:-claude-haiku-5-5}
|
|
DAILY_PAGE_LIMIT: ${DAILY_PAGE_LIMIT:-300}
|
|
MAX_PAGES: ${MAX_PAGES:-80}
|
|
ports:
|
|
# Loopback by default. Behind a panel's reverse proxy this is usually fine;
|
|
# set BIND_ADDRESS=0.0.0.0 only if the app itself must be reachable from outside.
|
|
- "${BIND_ADDRESS:-127.0.0.1}:${PORT:-3010}:8080"
|
|
volumes:
|
|
- plays:/data
|
|
|
|
volumes:
|
|
plays:
|