version: "3.7" services: proxy: build: context: . dockerfile: Dockerfile-proxy depends_on: - service1 - service2 ports: - 10000:10000 - 19000:19000 service1: image: jmalloc/echo-server hostname: service1 service2: image: jmalloc/echo-server hostname: service2 go-control-plane: build: context: . dockerfile: Dockerfile-control-plane command: bin/example -debug healthcheck: test: nc -zv localhost 18000