1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-10-09 12:55:00 +02:00
archivr/docker-compose.yml
TheGeneralist 094f1b0457
feat: add YouTube subtitles, local transcription, self-updating yt-dlp/Deno, X Article and thread titles (#39)
- Capture YouTube subtitles by default (opt-out in UI, API, CLI --no-subtitles)
- Summarize YouTube videos from subtitles; fetch on demand, then local transcription, then error
- Local transcription fallback: Whisper, Parakeet, Phonon-2 (English only)
- Runtime-resolved, self-updating yt-dlp and Deno JS runtime (fixes YouTube 403s)
- Settings > Instance > yt-dlp: status and in-app update without restart
- X Article titles from article.title, with idempotent startup backfill
- Thread title generation (single and bulk) with per-provider cheap models
- Per-provider title model settings in Settings > Instance
- Docs, mental model, AGENTS.md and transcription spec updated
2026-10-05 19:41:06 +02:00

31 lines
1.3 KiB
YAML

services:
archivr:
build: .
image: archivr-server:latest
restart: unless-stopped
ports:
- "8080:8080"
environment:
# Listen on all interfaces inside the container so the port mapping works.
ARCHIVR_BIND: "0.0.0.0:8080"
# Uncomment and set this to enable Twitter/X archiving.
# The file must be accessible inside the container (e.g. in the config volume).
# ARCHIVR_TWITTER_CREDENTIALS_FILE: /config/twitter-cookies.txt
# Optional local transcription for YouTube summaries without subtitles.
# Engines are not bundled: install them in a derived image or mount them.
# ARCHIVR_TRANSCRIBE_ENGINES: "whisper,phonon2"
# ARCHIVR_WHISPER_CLI: /models/bin/whisper-cli
# ARCHIVR_WHISPER_MODEL: /models/ggml-large-v3-turbo.bin
# ARCHIVR_PHONON2_CLI: /opt/transcribe/bin/fermion
volumes:
# Mount a directory containing archivr-server.toml as read-only config.
# Copy docker/config.example.toml to ./config/archivr-server.toml to start.
- ./config:/config:ro
# Persistent volume for the auth database and archive directories.
# The paths inside must match archive_path values in your TOML config.
- archivr-data:/data
# Optional read-only model directory for local transcription engines.
# - ./models:/models:ro
volumes:
archivr-data: