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: