Lavalink Audio Server
This free NautilusControl template sets up a Lavalink Audio Server on port 2333 with 1 GB of RAM recommended. This page covers the ports to open, hardware requirements, the Docker image, every setting you can change and step-by-step setup.
Lavalink Audio Server at a glance
- Category
- Discord (Discord bot)
- Type
- Lavalink
- Docker image
- eclipse-temurin:17-jre-alpine
- Default version
- 4
- Java version
- Java 17
- Ports
- 2333/TCP
- RAM
- 1 GB
- CPU
- 1 core
- Disk
- 2 GB
- Console
- Interactive console (stdin)
- Template version
- v1.0.0
Lavalink Audio Server server ports
A Lavalink Audio Server built from this template listens on this port. Open it in your firewall so players and clients can connect.
| Port | Protocol | Used for |
|---|---|---|
| 2333 | TCP | Lavalink REST/WS |
sudo ufw allow 2333/tcpLavalink Audio Server server requirements
These are the template's recommended starting values. Increase it if the bot is in many servers or plays a lot of audio at once.
Run Lavalink Audio Server in Docker
The template uses the eclipse-temurin:17-jre-alpine image, default version 4. NautilusControl pulls it automatically; to fetch it yourself:
docker pull eclipse-temurin:17-jre-alpinejava -jar lavalink.jarLavalink Audio Server settings (environment variables)
You can change these when you create the server or later in its settings.
| Variable | Default | What it does |
|---|---|---|
| LAVALINK_SERVER_PASSWORDrequired | youshallnotpass | Password for connecting bots to this Lavalink server |
| SERVER_PORT | 2333 | Port Lavalink listens on |
Files and folders
/data/application.yml— Config/data/plugins— Plugins
How to set up a Lavalink Audio Server with NautilusControl
Install NautilusControl
Install the NautilusControl panel and agent on the machine that will run the server. The installation guide covers it, and the 14-day free trial includes 1 node and 5 servers.
Import the Lavalink Audio Server template
Download this template (a single JSON file) with the button above, then open Templates in NautilusControl and choose Import JSON.
Create the server
Create a new container and pick Lavalink Audio Server. NautilusControl pulls
eclipse-temurin:17-jre-alpine, fills in the environment variables listed below, and creates the folders for you.Open the ports
Allow port 2333 through your firewall, and forward it on your router if people connect from outside your network.
Start it
Press Start and follow the startup log in the panel, then use the interactive console (stdin) for commands.
Server files come from github.com.
Notes
High-performance audio streaming server used by Discord music bots. Not a bot itself — connect your bot to this server.
Lavalink Audio Server FAQ
What ports does Lavalink Audio Server use?
This template uses port 2333 (Lavalink REST/WS). Open it in your firewall and forward it on your router if players connect from outside your network.
How much RAM does Lavalink Audio Server need?
The template recommends 1 GB of RAM, 1 core, 2 GB of disk space. Increase it if the bot is in many servers or plays a lot of audio at once.
Which Java version does Lavalink Audio Server need?
This template runs on Java 17. NautilusControl uses a Docker image with the right Java runtime, so you don't install Java yourself.
Can I run Lavalink Audio Server in Docker?
Yes. The template uses the Docker image eclipse-temurin:17-jre-alpine (default version 4). NautilusControl pulls it and creates the container for you.
Is the Lavalink Audio Server template free?
Yes. Every template in the Corallium Studios library is free to download. You need NautilusControl to deploy it; there is a 14-day free trial.