A search can now be saved with a schedule (every N hours, daily, or weekly at a given day and time). An internal scheduler runs it and keeps a snapshot of the results on a /data volume (JSON files, no new dependency). The new Watch tab lists the scheduled searches; the review page of each one shows, for any run of its history, the repositories never seen before and the ones that gained the most stars since the previous run. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
20 lines
706 B
YAML
20 lines
706 B
YAML
services:
|
|
searchgit:
|
|
build: .
|
|
container_name: searchgit
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${HTTP_PORT:-8080}:8080"
|
|
environment:
|
|
GITHUB_TOKEN: ${GITHUB_TOKEN:-} # optional: 30 searches/min instead of 10
|
|
CACHE_TTL: ${CACHE_TTL:-5m} # identical searches are served from memory
|
|
AUTH_USER: ${AUTH_USER:-} # leave empty to disable authentication
|
|
AUTH_PASS: ${AUTH_PASS:-}
|
|
TZ: ${TZ:-Europe/Paris} # time zone of the scheduled searches
|
|
HISTORY_KEEP: ${HISTORY_KEEP:-100} # runs kept per scheduled search
|
|
volumes:
|
|
- searchgit-data:/data # scheduled searches and their history
|
|
|
|
volumes:
|
|
searchgit-data:
|