version: "3.9" services: saboteur: build: context: . dockerfile: docker/Dockerfile ports: - "8080:8080" # proxy - "8081:8081" # control UI environment: UPSTREAM_URL: http://my-service:5678 volumes: - ./config/example.yaml:/etc/saboteur/config.yaml command: ["--config", "/etc/saboteur/config.yaml"] depends_on: - my-service my-service: image: hashicorp/http-echo command: ["-text=hello from upstream"] ports: - "5678:5678"