Corallium Studios
DiscordLavalinkFree template

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.

  • Version v1.0.0
  • Updated
  • 0 downloads
  • By Corallium Studios

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.

PortProtocolUsed for
2333TCPLavalink REST/WS
Ubuntu firewall (ufw)
sudo ufw allow 2333/tcp

Lavalink Audio Server server requirements

1 GBRAM
1 coreCPU
2 GBDisk

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:

Pull the image
docker pull eclipse-temurin:17-jre-alpine
Start command
java -jar lavalink.jar

Lavalink Audio Server settings (environment variables)

You can change these when you create the server or later in its settings.

VariableDefaultWhat it does
LAVALINK_SERVER_PASSWORDrequiredyoushallnotpassPassword for connecting bots to this Lavalink server
SERVER_PORT2333Port Lavalink listens on

Files and folders

  • /data/application.yml — Config
  • /data/plugins — Plugins

How to set up a Lavalink Audio Server with NautilusControl

  1. 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.

  2. 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.

  3. 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.

  4. Open the ports

    Allow port 2333 through your firewall, and forward it on your router if people connect from outside your network.

  5. 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.