GitDeployHub

hugorcd/databuddy

github.com/hugorcd/databuddy ↗
Node.js API
20 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)

  • CLICKHOUSE_URL
  • DATABASE_URL secret
  • DB_POOL_MAX Max PostgreSQL connections per running Databuddy process. Keep the sum across services below Postgres max_connections, with room for…
  • REDIS_URL secret
  • BULLMQ_REDIS_URL secret
  • AI_GATEWAY_API_KEY secret
  • BETTER_AUTH_URL
  • BETTER_AUTH_SECRET secret
  • OPR_API_KEY secret OpenPageRank key, not needed for most operations
  • AUTUMN_SECRET_KEY secret Not necessary, disabled if node env is development
  • NODE_ENV Important for local
  • GITHUB_CLIENT_ID Not necessary, except for github oauth
  • GITHUB_CLIENT_SECRET secret
  • GOOGLE_CLIENT_ID Not necessary, except for google oauth
  • GOOGLE_CLIENT_SECRET secret
  • RESEND_API_KEY secret Not Necessary unless self-hosting
  • DASHBOARD_URL
  • API_URL
  • API_CORS_ORIGINS Optional comma-separated dashboard origins allowed to call the API.
  • STATUS_URL
Alternative Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/hugorcd/databuddy
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/hugorcd/databuddy
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/hugorcd/databuddy
Or deploy to a different host
← Try another repo