github.com/koneal2013/storymetadatagenerator@v0.0.0-20230222212341-b170f254daa5/docker-compose.yaml (about) 1 version: "3" 2 services: 3 4 # Jaeger 5 jaeger-all-in-one: 6 image: jaegertracing/all-in-one:latest 7 ports: 8 - "16686:16686" 9 - "14268:14268" 10 - "14250:14250" 11 12 # Zipkin 13 zipkin-all-in-one: 14 image: openzipkin/zipkin:latest 15 ports: 16 - "9411:9411" 17 18 # Collector 19 otel-collector: 20 image: otel/opentelemetry-collector-contrib:latest-arm64 21 command: ["--config=/etc/otel-collector-config.yaml", "${OTELCOL_ARGS}"] 22 volumes: 23 - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml 24 ports: 25 - "1888:1888" # pprof extension 26 - "8888:8888" # Prometheus metrics exposed by the collector 27 - "8889:8889" # Prometheus exporter metrics 28 - "13133:13133" # health_check extension 29 - "4317:4317" # OTLP gRPC receiver 30 - "55679:55679" # zpages extension 31 depends_on: 32 - jaeger-all-in-one 33 - zipkin-all-in-one 34 35 storymetadatagenerator-server: 36 build: 37 dockerfile: Dockerfile 38 context: . 39 environment: 40 - OTEL_EXPORTER_OTLP_ENDPOINT=otel-collector:4317 41 - USER=root 42 ports: 43 - "8080:8080" 44 - "8081:8081" 45 depends_on: 46 otel-collector: 47 condition: service_started 48 volumes: 49 - ./config.json:/etc/config.json 50 - ./api/util/easy_words.txt:/api/util/easy_words.txt 51 52 prometheus: 53 container_name: prometheus 54 image: prom/prometheus:latest 55 volumes: 56 - ./prometheus.yaml:/etc/prometheus/prometheus.yml 57 ports: 58 - "9090:9090"