Docker quickstart
Install wavemelo v0.14.1 on your Discord server and verify the three-service Docker Compose deployment.
1. Check prerequisites
Install Git, Docker, and the Docker Compose v2 plugin. Use a Discord account with permission to install an application in your server. First startup needs outbound access to fetch images, the pinned yt-cipher source, Rust dependencies, and Lavalink plugins.
git --version
docker --version
docker compose version2. Create a Discord application
- In the Discord Developer Portal, create an application and open its Bot settings.
- Generate or reset the bot token and store it privately. The bot requests Guilds and Guild Voice States from code. Privileged Message Content intent can stay off.
- Configure a Guild Install link with the
botandapplications.commandsscopes. Give the bot Connect and Speak in voice, plus access to the channel where you will use commands and embeds.
3. Clone the release
git clone --branch v0.14.1 --single-branch https://github.com/prxmel4/wave-melo.git
cd wave-melo
git rev-parse --short HEADThe checkout should show 1f2039b. A detached HEAD is expected when cloning a tag.
4. Set credentials
cp .env.example .envCopy-Item .env.example .envEdit .env. Replace the placeholders locally and use a strong, unique Lavalink password. Set a Discord server ID for guild-scoped registration during testing, or leave it blank for global registration.
DISCORD_TOKEN=replace_with_your_discord_bot_token
LAVALINK_PASSWORD=replace_with_a_strong_unique_password
DISCORD_GUILD_ID=See the configuration reference for local defaults and Compose overrides.
5. Start the stack
docker compose config --quiet
docker compose up --build -dconfig --quiet validates the Compose file without printing interpolated secrets. The bot starts after Lavalink’s TCP health check passes.
6. Verify service health
docker compose ps
docker compose logs --tail=100 bot lavalink yt-cipherExpect lavalink to report healthy and all three containers to be running. Check the bot logs for Discord readiness and slash command registration. First startup may take longer as plugin JARs download.
7. Invite the bot and test playback
Open the Guild Install link and select your server. If you set DISCORD_GUILD_ID, it must match that server. Global commands can take time to appear.
Run /ping, join a voice channel, and try /play query:Steve Lacy oh yeah?. Use /now_playing for details and controls, or /help to inspect registered commands.
8. Troubleshoot startup and playback
| Symptom | What to check |
|---|---|
| Compose reports a missing value | Set DISCORD_TOKEN and LAVALINK_PASSWORD in the .env alongside docker-compose.yml. |
| Lavalink never becomes healthy | Review lavalink logs for plugin downloads, image startup errors, and a conflict on host loopback port 2333. |
| Bot authentication fails | Check the token privately and confirm that the same Lavalink password reaches both Compose services. |
| Slash commands are missing | Check bot readiness, the applications.commands scope, and guild ID. Allow time for global registration. |
| Bot joins but cannot play | Verify Connect and Speak and inspect lavalink and yt-cipher logs for upstream or deciphering errors. |
9. Stop, restart, or apply changes
docker compose restart bot
docker compose downUse restart bot for a running stack with the same settings. To apply changed environment variables or a new bot build, run docker compose up --build -d again. down removes the Compose containers and bridge. Re-created Lavalink containers download their plugins again.