diff --git a/app.json b/app.json index bcd4d338b..ca5f8debc 100644 --- a/app.json +++ b/app.json @@ -1,10 +1,36 @@ { + "name": "editor-api", + "scripts": { + "postdeploy": "bin/rails db:seed" + }, + "env": { + "BYPASS_OAUTH": { + "value": "true" + }, + "HEROKU_APP_NAME": { + "required": true + }, + "RAILS_ENV": { + "required": true + }, + "SALESFORCE_ENABLED": { + "value": "false" + }, + "SENTRY_CURRENT_ENV": { + "value": "review" + } + }, + "formation": { + "web": { + "quantity": 1 + } + }, "addons": [ + "heroku-postgresql:essential-0" + ], + "buildpacks": [ { - "plan": "heroku-postgresql", - "options": { - "version": "14" - } + "url": "heroku/ruby" } ] }