GitDeployHub

benawad/how-to-roll-your-own-auth

github.com/benawad/how-to-roll-your-own-auth ↗
Docker
5 environment variables found in api/.env.example

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

  • DISCORD_CLIENT_ID
  • DISCORD_SECRET_ID secret
  • REFRESH_TOKEN_SECRET secret
  • ACCESS_TOKEN_SECRET secret
  • FRONTEND_URL
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/benawad/how-to-roll-your-own-auth
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/benawad/how-to-roll-your-own-auth
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/benawad/how-to-roll-your-own-auth
Or deploy to a different host
← Try another repo