Easily deploy lavalink server on heroku. This build is based on karyeet's Lavalink. It's reliable. This branch will download the latest lavalink repacked by DespenserTeam's Lavalink (With Arm64/aarch64 architecture supported)
Don't worry my friend, you just need to restart the dyno :D
Buildpacks should be added automatically. Modify PASS
before starting to change the password of the Lavalink.
- Create a fork of this repo.
- Navigate to your heroku project @To the dashboard we go!
- Navigate to your project "Settings", click "Reveal Config Vars", and set a new var called PASS and set it to the pass you wish it to be :D
- Navigate to the "Deploy" tab
- Find/Click the "Connect to Github" section and login if prompted
- For the repo name, type "Heroku-Lavalink" and click "Search"
- Click "Connect"
- Scroll down and click "Deploy Branch"
- Download files (Clone/Download -> Download ZIP).
- Extract files into an empty directory ( Skip if you use clone )
- Follow https://devcenter.heroku.com/articles/git. If heroku is unable to automatically configure the buildpacks, go to your projects settings on the heroku website and add java and nodejs.
- Go to project settings -> Config Vars on heroku and set new var called PASS to the pass you wish your client wants to use.
Extra Notes:
- After changing the PASS, you need to restart by clicking Restart All Dynos.
- If heroku unable to configure buildpacks automatically, navigate to your App/Projects settings on the web and add JAVA and NODEJS.
Please understand your lavalink server will most likely to run out of memory on free dyno. I recommend upgrade your dyno or switch to lighter alternatives.