Heroku
Automatic way (One-Click Template button)
- Check Variables
- If you are using a heroku-addon as redis database , then first set an empty string in
REDIS_URL
then follow step 4.a from Manual way
Manual way (git + Heroku CLI)
- Install Heroku CLI
- Clone Repo
- Login into Railway account, create a new app
-
Using persistence database Addon (optional if you already using any Online redis service eg. Redislab, Upstash etc)
-
Upstash-Redis Addon (heroku verified account required)
** must add addon with--as REDIS
parameter -
Free hosted database
Create a redis uri from USERNAME , PASSWORD , HOST , PORT provided from server and modify environment variables
-
-
Set Environmental Variables
Variable template
(copy-paste, edit and remove empty variables)
API_USER
&API_PASS
are required to start the server and it is recommened to setAPP_NAME
also. (setREDIS_URL
if not using upstash-redis addon)API_USER="" API_PASS="" CREATE_REDIS="false" LOG_REQUEST="false" PLATFORM="heroku" CAPTCHA_SOLVER_URL="https://captcha-solver-api2.herokuapp.com" JAVDB_EMAIL="" JAVDB_PASSWORD="" REMEMBER_ME_TOKEN="" JDB_SESSION="" IPINFO_TOKEN="" INACTIVITY_TIMEOUT="60" TZ="UTC" HEALTHCHECK_PROVIDER="None" UPTIMEKUMA_PUSH_URL="" HEALTHCHECKSIO_PING_URL="" APP_NAME=""