R
Railway2y ago
aglen

How to run vernemq docker container

I am trying to get a container with verenmq running on railway, i am adding my own vernemq.conf file listening to railway service port 443, and some certificates that i generated for the server and exposing same port in the Dockerfile, but when i try to connect with MQTT Client i can see that the certs i am using are being matched with the default SSL certs railway has created so my vernemq container is not getting trough. i have tried to set the PORT variable in railway portal aswell with no luck. is what i am trying to do even possible? i really want to get away from AWS EC2 basically, can i have my vernemq running on docker with railway and connect to it via some-name.up.railway.app:443 ?
8 Replies
Percy
Percy2y ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Brody
Brody2y ago
does vernemq need disk storage?
aglen
aglenOP2y ago
i dont think i have configured it to store anything outside memory, i was looking at announcments, and i can see that TCP support is comming in the future, is railway not suitable for this usecase at the moment?
Brody
Brody2y ago
does vernemq not communicate over http?
aglen
aglenOP2y ago
listener.tcp and listener.ssl, dont know if any of these are http vernemq mqtt is TCP, SSL, WebSocket, from the docs
Brody
Brody2y ago
websockets uses http, but if TCP is needed, this won't work on railway the the moment also railway doesn't have persistent storage, so that's probably a no-go too
aglen
aglenOP2y ago
anywhere i can track the progress of TCP for railway?
Brody
Brody2y ago
the first place it would be announced would probably be in a change log
Want results from more Discord servers?
Add your server