Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 2.06 KB

File metadata and controls

44 lines (29 loc) · 2.06 KB

Authorizer Server on Railway App

Deploy production ready authorizer.dev instance using railway.app with PostgreSQL / MySQL and Redis for free and build with it in 30seconds

Deploy on Railway

Features

How to use

  • Click the Railway button above
  • Configure the required variables (see below)
  • Deploy

Required Variables

Authorizer v2 requires the following variables. Configure them in Railway's environment settings:

Variable Description Example
DATABASE_TYPE Database type postgres
DATABASE_URL Database connection string (auto-configured by Railway)
JWT_TYPE JWT signing algorithm HS256
JWT_SECRET JWT signing secret test
ADMIN_SECRET Admin secret for admin operations admin
CLIENT_ID Client identifier (required) 123456
CLIENT_SECRET Client secret (required) secret

These are mapped to CLI flags at startup. Please refer to the server configuration docs for all available flags.

Notes

Updating Authorizer on existing Railway instance

  • You can update the docker image to the desired version in your repository which gets created with your deployment.

  • You can find all the versions on github or dockerhub