Skip to content

Quick Start Guide

This guide will help you get up and running with BunkerM quickly. We'll cover the basics of starting the container, accessing the web interface, and creating your first MQTT client.

Starting BunkerM

The fastest way to start BunkerM is using Docker:

docker run -d -p 1900:1900 -p 2000:2000 bunkeriot/bunkerm

This command will: - Download the BunkerM image (if not already present) - Start a container in detached mode - Map port 1900 for MQTT communication - Map port 2000 for the web interface

Accessing the Web Interface

  1. Open your web browser and navigate to http://localhost:2000
  2. You should see the BunkerM login page

Login Page

First Login

For your first login, use the following credentials:

  • Username: admin
  • Password: admin

Warning

For security reasons, you should change the default password immediately after your first login.

Creating Your First MQTT Client

Before you can connect to the MQTT broker, you need to create a client:

  1. In the left sidebar, navigate to MQTT Management > Client Management
  2. Click the Add client button in the top right corner
  3. Enter a username and password for your MQTT client
  4. Click Save

Add Client

Connecting to the MQTT Broker

Now that you've created a client, you can connect to the MQTT broker using any MQTT client application:

  • Broker Address: localhost (or your server's IP address)
  • Port: 1900
  • Username: The client username you created
  • Password: The client password you created

Example with Mosquitto CLI

mosquitto_pub -h localhost -p 1900 -u your_client_username -P your_client_password -t test/topic -m "Hello from BunkerM!"

Example with MQTT Explorer

  1. Download and install MQTT Explorer
  2. Create a new connection with the following settings:
  3. Host: localhost
  4. Port: 1900
  5. Username: Your client username
  6. Password: Your client password
  7. Click Connect

Monitoring MQTT Activity

BunkerM provides real-time monitoring of MQTT activity:

  1. Navigate to the Dashboard in the left sidebar
  2. View the "Recent MQTT Events" panel to see real-time connection and message activity
  3. Check the "Broker Statistics" panel for overall performance metrics

Next Steps

Now that you have BunkerM up and running, you can:

For more detailed information, explore the rest of the documentation.