add api and dashboard bind config

In reference to #182.