All Templates / Queues
EMQX
The most scalable open-source MQTT broker for IoT
caddy
maximofftech/railway-emqx
Just deployed
emqx
emqx:5
Just deployed
This Railway template sets up an EMQX MQTT broker with a Caddy reverse proxy. The EMQX broker is configured to handle MQTT connections over TCP on port 1883. The Caddy reverse proxy manages access to the EMQX admin dashboard and handles MQTT connections over WebSocket.
[!NOTE] Admin password is randomly generated by default. See varialbe
EMQX_DASHBOARD__DEFAULT_PASSWORD
This template deploys an open-source community edition of the EMQX broker.
EMQX is a highly scalable, open-source MQTT broker designed to support large-scale IoT applications. It enables the exchange of messages between devices with minimal overhead, ensuring efficient and reliable communication.
Railway doesn't allow to expose multiple ports, thus there is a Caddy reverse proxy to handle HTTP and WebSocket connections.
EMQX listens the following ports by default
This template exposes 1883 TCP port directly from emqx service.
WS_PORT=8083
: MQTT over WebSocket port.SSL_PORT=8883
: MQTT over TLS port.TCP_PORT=1883
: MQTT TCP port.WSS_PORT=8084
: MQTT over secure WebSocket port.ADMIN_PORT=18083
: Dashboard port.EMQX_NODE__COOKIE=${{ secret(64) }}
: Cookie secret for node communication.EMQX_DASHBOARD__DEFAULT_PASSWORD=${{ secret(18) }}
: Admin password for the EMQX dashboard.MQTT_SERVICE=${{emqx.RAILWAY_PRIVATE_DOMAIN}}
: Name of the service/container with EMQX.MQTT_WS_PORT=${{emqx.WS_PORT}}
: Port of the MQTT over WebSocket listener.MQTT_ADMIN_PORT=${{emqx.ADMIN_PORT}}
: Port of the EMQX admin UI listener.Template Content
emqx
emqx:5Details
Maximoff Tech's Projects
Created on Jul 2, 2024
96 total projects
39 active projects
96% success on recent deploys
Shell, Dockerfile
Queues
More templates in this category