GitDeployHub

abergs/onecli

github.com/abergs/onecli ↗
Node.js API
7 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • DATABASE_URL secret Database — required. Use `pnpm db:up` to start a local PostgreSQL via Docker.
  • NEXTAUTH_SECRET secret Auth — single-user mode by default (no login required). To enable Google OAuth login (multi-user), set NEXTAUTH_SECRET and the Google…
  • AUTH_MODE Gateway auth mode — "local" skips JWT validation (single-user dev), "oauth" validates NextAuth cookies.
  • GOOGLE_CLIENT_ID Google OAuth (for login — works in both auth modes)
  • GOOGLE_CLIENT_SECRET secret
  • SECRET_ENCRYPTION_KEY secret Secret encryption key for encrypting stored secrets (API keys, tokens, etc.) Auto-generated on first container start if not set. Only set…
  • NEXT_PUBLIC_GATEWAY_URL Gateway URL for client-side API calls
Alternative Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/abergs/onecli
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/abergs/onecli
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/abergs/onecli
Or deploy to a different host
← Try another repo