Use public ip instead of `controller` in endpoint public urls

Signed-off-by: Lance Chen <cyen0312@gmail.com>
Merge pull request #12 from Lance0312/master

Use public ip instead of `controller` in endpoint public urls