purpleworks / fleet-ui

Web based UI for fleet
http://fleetui.com/
MIT License
232 stars 39 forks source link

No machines or units displayed in UI #10

Closed yaronr closed 9 years ago

yaronr commented 9 years ago

Hi.

Running: docker run --name fleet-ui -d -p 1304:3000 purpleworks/fleet-ui

Server: CoreOS

UI 'works', but does not show any machines or units. I'll be happy to help you debug, via chat or anything else

subicura commented 9 years ago

Try this and tell me result!

$ docker run --rm -it purpleworks/fleet-ui /bin/bash
$ curl http://172.17.42.1:4001/v2/keys/_etcd/machines
yaronr commented 9 years ago

Hi It only works if I replace 172..1 with 10.10.0.1 (which is the docker net in my case)

subicura commented 9 years ago

@yaronr Oh, really? Try this!

docker run --name fleet-ui -d -p 1304:3000 -e ETCD_PEER=10.10.0.1 purpleworks/fleet-ui
yaronr commented 9 years ago

Horray! it works

Thank you.

1) Please take a look at my images for example on how to minimize (I see that you already saved 200mb! nice) Let me know if you need my help 2) Please update the readme

Regards, Yaron Rosenbaum Founder and CTO MultiCloud M +972 54 2346012 www.multicloud.io http://www.multicloud.io/

On Dec 11, 2014, at 4:13 PM, Chungsub Kim notifications@github.com wrote:

Oh, really? Try this!

docker run --name fleet-ui -d -p 1304:3000 -e ETCD_PEER =10.10.0.1 purpleworks/fleet-ui

— Reply to this email directly or view it on GitHub https://github.com/purpleworks/fleet-ui/issues/10#issuecomment-66623734.

subicura commented 9 years ago

WOW! Very good!! Thank you. I'll update readme, soon!