Skip to content

Commit

Permalink
Configure Heroku deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
blenderskool committed Nov 14, 2021
1 parent 6a6c546 commit cf1b6dc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"description": "Open source API proxy server with an easy-to-use dashboard for configuring middlewares and secrets.",
"repository": "https://github.com/blenderskool/diode",
"stack": "container",
"scripts": {
"postdeploy": "npx prisma migrate deploy"
},
"env": {
"SECRETS_KEY": {
"description": "AES256 32-bytes hexadecimal string",
Expand Down
13 changes: 13 additions & 0 deletions heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
setup:
addons:
- plan: heroku-postgresql
as: DATABASE

build:
docker:
web: Dockerfile

release:
image: web
command:
- npx prisma migrate deploy

0 comments on commit cf1b6dc

Please sign in to comment.