Skip to content

Commit

Permalink
chore(heroku): use container runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
jlegrone committed Mar 14, 2019
1 parent 2cbc619 commit 2e41472
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
35 changes: 14 additions & 21 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"description": "Mass peer to peer texting tool",
"repository":"https://github.com/moveonorg/spoke",
"success_url":"/",
"buildpacks": [
{ "url": "https://github.com/heroku/heroku-buildpack-nodejs"}
],
"stack": "container",
"env": {
"SUPPRESS_SELF_INVITE": {
"description": "Should anonymous visitors be able to create new organizations from the home page? You will probably want to start the app with this off, and then after creating your own organization, come back here and set it to 1",
Expand All @@ -15,26 +13,22 @@

"AUTH0_DOMAIN": {
"description": "auth0 domain attached to auth0 account",
"required": true,
"value": "<changeme>.auth0.com"
"required": true
},

"AUTH0_CLIENT_ID": {
"description": "auth0 client id attached to auth0 account",
"required": true,
"value": "<changeme>"
"required": true
},

"AUTH0_CLIENT_SECRET": {
"description": "auth0 client secret attached to auth0 account",
"required": true,
"value": "<changeme>"
"required": true
},

"BASE_URL": {
"description": "based on your herokuapp name or domain name",
"required": true,
"value": "https://<changeme>.herokuapp.com"
"description": "Set this if you are using a custom domain",
"required": false
},

"SESSION_SECRET": {
Expand All @@ -51,26 +45,22 @@

"TWILIO_API_KEY": {
"description": "for twilio integration and connected to twilio account",
"required": true,
"value": "<changeme>"
"required": true
},

"TWILIO_APPLICATION_SID": {
"description": "for twilio integration and connected to twilio account",
"required": true,
"value": "<changeme>"
"required": true
},

"TWILIO_AUTH_TOKEN": {
"description": "for twilio integration and connected to twilio account",
"required": true,
"value": "<changeme>"
"required": true
},

"TWILIO_MESSAGE_SERVICE_SID": {
"description": "for twilio integration and connected to twilio account",
"required": true,
"value": "<changeme>"
"required": true
},

"TWILIO_STATUS_CALLBACK_URL": {
Expand Down Expand Up @@ -185,10 +175,13 @@
"description": "Timezone to use to determine whether DST is in effect for a date",
"required": true,
"value": "America/New_York"
},

"HEROKU_APP_NAME": {
"required": false
}

},

"addons": [
"heroku-postgresql:hobby-dev",
"mailgun:starter"
Expand Down
3 changes: 3 additions & 0 deletions heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build:
docker:
web: Dockerfile

0 comments on commit 2e41472

Please sign in to comment.