Deploy an app with TCP and HTTPI
I'm trying to deploy rabbitMQ which has both a TCP port an a HTTP port but you cannot expose both publicly.
The example comes with a proxy but that's not working, can anyone help?
Solution:Jump to solution
this start command dynamically modifies the rabbitmq conf file to have the management interface listen on ipv6, instead of the default ipv4 interface.
this is needed since the private network is ipv6 only....
28 Replies
Project ID:
e269f5dd-f1fb-40f1-9ea5-9b0a20b1c53a
e269f5dd-f1fb-40f1-9ea5-9b0a20b1c53a
at this time you can't expose a single service via tcp and https
i will look into why the template doesnt work
This is the error I'm getting
the project has no services?
can you deploy a fresh rabbitmq template so i can look for the issue?
I'm testing around with this project as I don't want to mess with my main project
e269f5dd-f1fb-40f1-9ea5-9b0a20b1c53a
in the test env?
Yeah
do i have your permission to also test in this env?
Yeah feel free
I just want to be able to access both the TCP port (5672) and the HTTP management port (15672) as I need to access the API as well
looks like it works now
check the activity panel to see what i changed
Do you know why the variable hasn't worked here?
As I was having issues previously with environment variables
its namespace was wrong
Now, I don't want to sound stupid but I think I've replicated this exactly in my dev environment and it's not working still...
looking
Thank you so much
Feel free to make any changes to test 👍
okay so thats a bit different since this was not deployed from a template
do you have a rabbitmq conf file in that monorepo?
Yeah this is my custom version of rabbitMQ with a plugin added on top. Here is my dockerfile
No, there is no rabbitmq conf file
thats all there is to the dockerfile in the rabbitmq folder?
Yeah
There is a plugins folder also in that rabbitmq folder which has a message deduplication plugin in and it copies it accross
do you know what the difference is between
3-management-alpine
and just management-alpine
are?
nvm the hash says they are the sameIt just specifies the latest version 3 of rabbitMQ since a new v4 is in the RC stage so is coming out soon.
I just spotted the same start command difference as well :Fingers:
yeah its working now, so ill explain
Solution
this start command dynamically modifies the rabbitmq conf file to have the management interface listen on ipv6, instead of the default ipv4 interface.
this is needed since the private network is ipv6 only.
Oh, amazing thank you. Very useful to know!
no problem, let me know if you have any more questions!
Shall do thank you
no problem!