use a ruby hash to describe the consul configuration
add consul configuration option for the domain