browser-captions/docker-compose.yml
bunker-admin c7becf330c Initial commit: Live Captions web application
Real-time speech-to-text using OpenAI Whisper (faster-whisper).
Features browser audio capture, WebSocket streaming, and customizable display settings.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 08:53:40 -07:00

30 lines
731 B
YAML

services:
live-captions:
build: .
container_name: live-captions
ports:
- "${PORT:-5000}:5000"
volumes:
# Persist SQLite database
- ./data:/app/data
# Persist Whisper models
- whisper-models:/home/appuser/.cache/huggingface
# Persist recordings
- ./recordings:/app/recordings
env_file:
- .env
environment:
- HOST=0.0.0.0
- PORT=5000
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5000/api/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
volumes:
whisper-models:
name: live-captions-whisper-models