Skip to content

Deploy Lavalink to Replit/Heroku (not for production) or a Docker container!

Notifications You must be signed in to change notification settings

cobaltgit/lavalink-server

Repository files navigation

Deploy Lavalink to the cloud!

NOTE: You should not use the Heroku/Replit deployment options for production installments

Deploy
To deploy to Replit, import the GitHub repository into a new Bash repl - the bootstrap scripts will take care of the rest

Deploying to Docker (better for production)

  • Clone this git repository into a folder on your server
$ cd /path/to/lavalink/server
$ git clone https://github.com/cobaltgit/lavalink-server.git .
  • Build the docker image
$ docker build -t lavalink "."

Running

Docker CLI:

$ docker run -dit -e PORT=<port-number> -e PASSWORD=youshallnotpass -e MEMORY=300M -p <port-number>:<port-number> --restart=unless-stopped --name lavalink lavalink

Docker-Compose:

version: "3"
services:
    lavalink:
        image: lavalink:latest
        environment:
            PORT: <port-number>
            PASSWORD: youshallnotpass
            MEMORY: 300M
        ports:
            - <port-number>:<port-number>:

About

Deploy Lavalink to Replit/Heroku (not for production) or a Docker container!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published