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
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.does vernemq need disk storage?
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?
does vernemq not communicate over http?
listener.tcp and listener.ssl, dont know if any of these are http
vernemq mqtt is TCP, SSL, WebSocket, from the docs
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
anywhere i can track the progress of TCP for railway?
the first place it would be announced would probably be in a change log