fix: add missing items to app.json (#1732)

* fix: add Postgres addon to app.json

* feat: add BASE_URL env variable to app.json

* fix: add JWT_SECRET env variable to app.json

* fix: add postdeploy script to app.json

* fix: add CALENDSO_ENCRYPTION_KEY env variable to app.json
pull/1552/head^2
Arthur Denner 2022-02-07 23:01:51 +01:00 committed by GitHub
parent 4a13448595
commit c201bfab2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 1 deletions

View File

@ -3,5 +3,18 @@
"description": "Open Source Scheduling", "description": "Open Source Scheduling",
"repository": "https://github.com/calcom/cal.com", "repository": "https://github.com/calcom/cal.com",
"logo": "https://cal.com/android-chrome-512x512.png", "logo": "https://cal.com/android-chrome-512x512.png",
"keywords": ["react", "typescript", "node", "nextjs", "prisma", "postgres", "trpc"] "keywords": ["react", "typescript", "node", "nextjs", "prisma", "postgres", "trpc"],
"addons": [
{
"plan": "heroku-postgresql:hobby-dev"
}
],
"env": {
"BASE_URL": "https://${HEROKU_APP_NAME}.herokuapp.com",
"CALENDSO_ENCRYPTION_KEY": "32-random-string",
"JWT_SECRET": "secret"
},
"scripts": {
"postdeploy": "npx prisma migrate deploy"
}
} }