Self-hosted Message Broker Platform
Repository: sameeryadav2005/messagex-v2
The MessageX Launcher deploys the complete MessageX platform with a single Docker command.
It automatically manages:
Client Applications
(JavaScript / Python / Java)
|
| TCP :5678
v
MessageX Broker
|
+-------+-------+
| |
v v
Dashboard PostgreSQL
HTTP :15672 Private :5432
|
v
Management API
Private :3000
docker pull sameeryadav2005/messagex-v2:0.1.8
docker run -d \
--name messagex \
--restart unless-stopped \
-v /var/run/docker.sock:/var/run/docker.sock \
-v messagex_launcher_data:/data \
sameeryadav2005/messagex-v2:0.1.8
The launcher automatically pulls the broker and dashboard images and starts PostgreSQL.
| Component | Address |
|---|---|
| Dashboard | http://localhost:15672 |
| Broker TCP | localhost:5678 |
| Management API | Private Docker network, port 3000 |
| PostgreSQL | Private Docker network, port 5432 |
Open the dashboard in your browser and log in using the administrator credentials.
If you want to provide your own credentials on the first startup:
docker run -d \
--name messagex \
--restart unless-stopped \
-e MESSAGEX_DEFAULT_USER=admin \
-e MESSAGEX_DEFAULT_PASS=YourStrongPassword123 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v messagex_launcher_data:/data \
sameeryadav2005/messagex-v2:0.1.8
Password requirements:
If credentials are omitted, the launcher generates a password and prints it in the launcher logs.
Retrieve saved credentials:
docker exec messagex cat /data/credentials.txt
| Variable | Default | Description |
|---|---|---|
MESSAGEX_DEFAULT_USER | admin | Initial administrator username |
MESSAGEX_DEFAULT_PASS | Generated | Initial administrator password |
TCP_PORT | 5678 | Host port for broker connections |
DASHBOARD_PORT | 15672 | Host port for dashboard |
TCP_BIND_ADDRESS | 0.0.0.0 | Broker host bind address |
MESSAGEX_BROKER_VERSION | 0.1.1 | Broker image version |
MESSAGEX_DASHBOARD_VERSION | 0.1.4 | Dashboard image version |
MESSAGEX_VERSION | Not set | Optional common version override |
Example: use broker port 5679 and dashboard port 8080.
docker run -d \
--name messagex \
--restart unless-stopped \
-e TCP_PORT=5679 \
-e DASHBOARD_PORT=8080 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v messagex_launcher_data:/data \
sameeryadav2005/messagex-v2:0.1.8
The internal broker port remains 5678 and the dashboard container port remains 80.
The same command works on an Ubuntu EC2 instance or another Docker-enabled server.
Allow the required inbound ports in your firewall/security group:
| Port | Protocol | Purpose |
|---|---|---|
| 5678 | TCP | SDK/client connections |
| 15672 | TCP | Dashboard HTTP access |
Access using:
http://YOUR_SERVER_PUBLIC_IP:15672
YOUR_SERVER_PUBLIC_IP:5678
You can use a DNS name instead of the public IP.
# View launcher logs
docker logs -f messagex
# View running containers
docker ps
# Retrieve administrator credentials
docker exec messagex cat /data/credentials.txt
# Restart
docker restart messagex
# Stop
docker stop messagex
# Start
docker start messagex
MessageX uses the Docker volume:
messagex_launcher_data
It stores:
The PostgreSQL database uses a separate persistent volume managed by the launcher.
Do not delete persistent volumes if you want to preserve your data and credentials.
/var/run/docker.sock, which provides significant Docker privileges.MessageX — Your infrastructure. Your messages. Your control.
Content type
Image
Digest
sha256:30b96b457…
Size
66.9 MB
Last updated
3 days ago
docker pull sameeryadav2005/messagex-v2:0.1.8