# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0
version: "3.7"
services:
  http-server:
    build:
      dockerfile: $PWD/Dockerfile
      context: ../../../../..
      target: example-http-server
    networks:
      - example
  http-client:
    build:
      dockerfile: $PWD/Dockerfile
      context: ../../../../..
      target: example-http-client
    command: ["/go/bin/client", "-server", "http://http-server:7777/hello"]
    networks:
      - example
    depends_on:
      - http-server
networks:
  example:
