Files
swyxweb/compose.yaml
T

26 lines
781 B
YAML

services:
swyxweb:
build: .
image: swyxweb:local
ports:
- "${SWYXWEB_PORT:-8080}:8080"
environment:
APP_TRANSCRIPTION_BASE_URL: ${APP_TRANSCRIPTION_BASE_URL:-http://127.0.0.1:8765}
WHISPER_THREADS: ${WHISPER_THREADS:-4}
LLM_BASE_URL: ${LLM_BASE_URL:-}
LLM_MODEL: ${LLM_MODEL:-}
LLM_API_KEY: ${LLM_API_KEY:-}
LLM_TIMEOUT_SECONDS: ${LLM_TIMEOUT_SECONDS:-120}
LLM_CHUNK_CHARS: ${LLM_CHUNK_CHARS:-12000}
APP_WEBSOCKET_HOST: ${APP_WEBSOCKET_HOST:-127.0.0.1}
APP_WEBSOCKET_PORT: ${APP_WEBSOCKET_PORT:-17654}
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- transcriptions:/data/transcriptions
stop_grace_period: 30s
restart: unless-stopped
volumes:
transcriptions: