Fix the port conflict in locally mode

Both the kubernets master and nginx container use 8080 port, which
cause port conflict erro.