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:-}