consul: image: consul:1.6.1 ports: - 8500:8500 whoami1: image: containous/whoami:v1.3.0 hostname: whoami1 whoami2: image: containous/whoami:v1.3.0 hostname: whoami2 whoami3: image: containous/whoami:v1.3.0 hostname: whoami3 whoamitcp: image: containous/whoamitcp hostname: whoamitcp