version: "2.4" services: mux-client: image: curlimages/curl:7.84.0 command: "curl -XGET http://mux-server:8080/users/123" depends_on: - mux-server mux-server: build: # we set the build context to toastielab.dev/toastie-stuff/otelchi because we use relative # path in go.mod for otelchi library context: ../../ # since we are on toastielab.dev/toastie-stuff/otelchi, the dockerfile location would be # in ./examples/basic/Dockerfile dockerfile: ./examples/basic/Dockerfile ports: - "8080:8080"