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

Signed-off-by: Lance Chen <cyen0312@gmail.com>