Skip to content

Commit

Permalink
heroku - switching to dyno instead of container.
Browse files Browse the repository at this point in the history
Good for persistent storage across dyno reboots.
  • Loading branch information
Avinash Reddy authored Dec 7, 2019
1 parent a9e1fd6 commit a00d855
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"repository": "https://github.com/AvinashReddy3108/PaperplaneExtended",
"website": "https://telegra.ph/How-to-host-a-Telegram-Userbot-07-24",
"success_url": "https://t.me/PaperplaneExtended",
"stack": "container",
"env": {
"API_KEY": {
"description": "Get this value from my.telegram.org.",
Expand All @@ -26,6 +25,19 @@
"description": "Get this value by running [python3 string_session.py] in Termux or local system.",
"required": true
},
"HEROKU_MEMEZ": {
"description": "This should be True if the userbor is running on a Heroku Dyno.",
"value": "True",
"required": true
},
"HEROKU_API_KEY": {
"description": "Your Heroku API key, get it from 'https://dashboard.heroku.com/account'",
"value": ""
},
"HEROKU_APP_NAME": {
"description": "Add the Heroku app name here. It helps with userbot updates.",
"required": false
},
"COUNTRY": {
"description": "Set your Country to be used in the .time and .date commands.",
"required": false
Expand Down Expand Up @@ -150,5 +162,18 @@
"version": "9.5"
}
}
]
],
"buildpacks": [{
"url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest"
}, {
"url": "https://github.com/opendoor-labs/heroku-buildpack-p7zip"
}, {
"url": "https://github.com/amivin/aria2-heroku"
}, {
"url": "https://github.com/heroku/heroku-buildpack-google-chrome"
}, {
"url": "https://github.com/heroku/heroku-buildpack-chromedriver"
}, {
"url": "heroku/python"
}]
}

0 comments on commit a00d855

Please sign in to comment.