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.jsonpull/1552/head^2
parent
4a13448595
commit
c201bfab2d
15
app.json
15
app.json
|
@ -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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue