2 months ago
when I want to deploy from a docker image, the service always deploys run, the docker image is https://hub.docker.com/r/apache/rocketmq/tags
Attachments
10 Replies
2 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
2 months ago
You might need to override the start command for this image, see how to do it here
crisog
You might need to override the start command for this image, see how to do it herehttps://docs.railway.com/guides/start-command
2 months ago
https://rocketmq.apache.org/zh/docs/quickStart/02quickstartWithDocker I think the guidebook doesn't show what is the start command
mattina010
https://rocketmq.apache.org/zh/docs/quickStart/02quickstartWithDocker I think the guidebook doesn't show what is the start command
2 months ago
You will need to create 2 services with the same images but different start commands for this to run:
NameServer with start command
sh mqnamesrvBroker with start command
sh mqbroker
Don’t forget to set env NAMESRV_ADDR pointing to the NameServer internal address.
mattina010
https://rocketmq.apache.org/zh/docs/quickStart/02quickstartWithDocker I think the guidebook doesn't show what is the start command
2 months ago
I created a template for RocketMQ in case you want to take a look
https://railway.com/deploy/apache-rocketmq?referralCode=crisog
crisog
You will need to create 2 services with the same images but different start commands for this to run:NameServer with start command sh mqnamesrvBroker with start command sh mqbrokerDon’t forget to set env NAMESRV_ADDR pointing to the NameServer internal address.
2 months ago
It seems ok.Thank you!
Status changed to Solved brody • 2 months ago
crisog
I created a template for RocketMQ in case you want to take a lookhttps://railway.com/deploy/apache-rocketmq?referralCode=crisog
2 months ago
Sorry,I encount a question when I use this template. Our code show that connection to null failed as the following picture 1. I try to ping the public ip , that is ok.But when I want to visit the port 9876, it always shows time out.
Attachments
Status changed to Awaiting Railway Response Railway • 2 months ago
crisog
I created a template for RocketMQ in case you want to take a lookhttps://railway.com/deploy/apache-rocketmq?referralCode=crisog
2 months ago
mattina010
Hi, I found a difficult problem. I can't send the message correctly but all configs are ok.
2 months ago
Where does that IP come from?
The port does seem okay
crisog
Where does that IP come from?The port does seem okay
2 months ago
I ping the url yamanote.proxy.rlwy.net to get this IP