Skip to content

A buildpack for Ory/Kratos deployment on Heroku

License

Notifications You must be signed in to change notification settings

dzungtran/ory-kratos-on-heroku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Ory/Kratos to Heroku

A template for deployment Ory/Kratos on Heroku.

Deploy

Kratos version: v0.9.0-alpha.3

To verify: open this URL to your browser https://[your_app_name].herokuapp.com/health/alive

Environmental Variables

Name Required Description
BASE64_ENCODED_KRATOS_CONFIG No To overwrite current kratos.yaml. Please encode base64 file content before paste to this config as a value
DATABASE_URL Yes PostgreSQL database URL. It already set when you install add-on Heroku Postgres.

Kratos Environmental Variables

Environmental variables take precedence over config file values. Nested paths get mapped to config values by putting an underscore _ between every level, so selfservice.flows.settings.ui_url becomes SELFSERVICE_FLOWS_SETTINGS_UI_URL=<value>.

Document: https://www.ory.sh/docs/kratos/reference/configuration