fix: deployment setup to Heroku (#1834)
* fix: move app.json to root directory * fix: add heroku-postbuild script * chore: add description to env variables on app.json * fix: update postdeploy script on app.json * fix: add Procfile to override start script Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
b7ad073de9
commit
691235f874
5 files changed
+29
-20
No files matched your search
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "Cal.com",
|
||||
"description": "Open Source Scheduling",
|
||||
"repository": "https://github.com/calcom/cal.com",
|
||||
"logo": "https://cal.com/android-chrome-512x512.png",
|
||||
"keywords": ["react", "typescript", "node", "nextjs", "prisma", "postgres", "trpc"],
|
||||
"addons": [
|
||||
{
|
||||
"plan": "heroku-postgresql:hobby-dev"
|
||||
}
|
||||
],
|
||||
"env": {
|
||||
"BASE_URL": {
|
||||
"description": "Replace HEROKU_APP_NAME with the name given to your app",
|
||||
"value": "https://HEROKU_APP_NAME.herokuapp.com"
|
||||
},
|
||||
"CALENDSO_ENCRYPTION_KEY": {
|
||||
"description": "Application Key for symmetric encryption and decryption. Must be 32 bytes for AES256 encryption algorithm.",
|
||||
"value": "secret"
|
||||
},
|
||||
"JWT_SECRET": "secret"
|
||||
},
|
||||
"scripts": {
|
||||
"postdeploy": "cd apps/web && npx prisma migrate deploy"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user