Closed imrangit closed 8 years ago
Hey there, just provide a list of ZK nodes with ZKUI_ZK_SERVER
(e.g. ZKUI_ZK_SERVER=zookeeperhost:2181
) and it will point there.
The magic is in the consul-template: https://github.com/qnib/docker-zkui/blob/master/etc/consul-templates/zkui.conf.ctmpl#L3-L4
HI Christian,
So this is what I have done. I build the image from your Dockerfile and this is how I am running it:
sudo docker run -d -p 9010:9010 -e SUPERVISOR_AUTOSTART_SRV=zkui -e ZKUI_ZK_SERVER=myzkinstance:2181 zkui
After that, it doesn’t respond on 9010 port. I only care about zkui, and i dont want to spin up consul or zookeepers in the container.
-Imran
You do not need to specify SUPERVISOR_AUTOSTART_SRV, it should work out of the box.
I'm on the run, so I won't have time to check it myself.
Please try -p 9090:9090
, since that should be the port.
Reply if you can not make it work, I will have a look tomorow and update the README to provide more details on that.
Thanks for reporting, I appreciate it!
Ah, maybe you are right with the AUTOSTART thingy... I'll have a look tomorrow...
Hi Christian,
Any update to this?
-Imran
Hey @imrangit, sorry I am a bit swamped here. I will check it out as fast as I can.
Here we go, I checked the image and beefed it up a little. Please visit the README for instructions, it should work as expected now.
Cheers and thanks for poking me on this, I really appreciate it!
I would just like to spin up zkui and then have it point to the remote zookeeper server. How can i do that?