a year ago
Description: The most scalable open-source MQTT broker for IoT
Category: Queues
2 Replies
10 days ago
Hi there, I am new to railway and emqx. in the description you mentioned
- Add the required environment variables
Deploy
Open the deployment URL in a browser. Check EMQX_DASHBOARD__DEFAULT_PASSWORD variable for the password for admin user, if you didn't set it manually.
i think i got it deployed, but i canot find the place to set required env variables. I did see a shared variables under project settings. is that the same thing? also where is the deployment url?
simkimsia
Hi there, I am new to railway and emqx. in the description you mentioned- Add the required environment variablesDeployOpen the deployment URL in a browser. Check EMQX_DASHBOARD__DEFAULT_PASSWORD variable for the password for admin user, if you didn't set it manually.i think i got it deployed, but i canot find the place to set required env variables. I did see a shared variables under project settings. is that the same thing? also where is the deployment url?
10 days ago
it's ok i figured it out
pasting the gemini answer here in case newbies like me for future:
### ## Finding Your Deployment URL on Railway
1. Go to Your Railway Project: Log in to your Railway account and open the project where you deployed the EMQX template.
2. Select the Caddy Service: Your deployment has two services: emqx
and caddy
. Caddy is the service that acts as a reverse proxy and exposes your EMQX dashboard to the internet. Click on the Caddy service.
3. Locate the Public URL: In the Caddy service panel, go to the Settings tab. You will see a section for "Domains" or "Public Networking." Railway automatically generates a public URL for you here. It will look something like this:
your-project-name-production.up.railway.app
That URL is your deployment URL.
---
### ## Accessing Your EMQX Dashboard
1. Open the URL: Copy that URL and paste it into your web browser. This will open the EMQX dashboard.
2. Log In:
* Username:admin
* Password: To find the password, go back to your Railway project, click on the `emqx` service, and go to the Variables tab. Look for the EMQX_DASHBOARD__DEFAULT_PASSWORD
variable and click the "eye" icon to reveal the value.
The GitHub repository only holds the template's configuration files; the unique URL for your specific deployment is only created and shown within your own Railway project.