Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.39 KB

File metadata and controls

36 lines (29 loc) · 1.39 KB

Docker assets for Retreivr.

Quick start

  • Build: docker build -f docker/Dockerfile -t retreivr:latest .
  • Compose: use docker/docker-compose.yml.example as your base.
  • Release asset: each tagged release also publishes retreivr-docker-starter-<tag>.zip with compose, env, config example, and runtime README.

Ports

  • Internal container port: 8000
  • Suggested host mapping: 8090:8000 (host:container)
  • Access URL with default mapping: http://localhost:8090

Volumes + paths

  • /config → config JSON
  • /downloads → completed media
  • /data → SQLite + temp dirs
  • /logs → logs
  • /tokens → OAuth tokens + client secrets

Legacy /app/* mounts are still supported via explicit RETREIVR_*_DIR overrides, but not recommended.

Use relative paths inside config.json (e.g. folder: "YouTube/Channel").

Version build arg

docker build -f docker/Dockerfile --build-arg RETREIVR_VERSION=0.9.20 -t retreivr:latest .

Notes

  • Bind to all interfaces in containers with RETREIVR_HOST=0.0.0.0 if needed.
  • Consider running as a non-root user with a fixed UID/GID to match volume permissions.
  • resolution_api.upstream_base_url is optional. Leave local cache sync off unless this node should mirror another Retreivr Resolution API node.
  • If you do enable local cache sync, set:
    • resolution_api.upstream_base_url
    • resolution_api.sync_enabled=true
    • resolution_api.local_node_id