Sha256: 4e6ad4fa8640dc214d1ab6be5ba88830055bd81ca067061de6728d0e4038ad2b

Contents?: true

Size: 1.39 KB

Versions: 3

Compression:

Stored size: 1.39 KB

Contents

version: '3.4'
services:
  app:
    # Build at dd-trace-rb level to copy in current code
    # and use it as the `ddtrace` gem.
    build:
      context: ../../..
      dockerfile: integration/apps/rspec/Dockerfile-ci
      args:
        BASE_IMAGE: ${APP_IMAGE}
    depends_on:
      - ddagent
    environment:
      - BUNDLE_GEMFILE=/app/Gemfile
      - DD_AGENT_HOST=ddagent
      - DD_METRIC_AGENT_PORT=8125
      - DD_TRACE_AGENT_PORT=8126
      - DD_HEALTH_METRICS_ENABLED=true
      - DD_SERVICE=acme-rspec
      - DD_PROFILING_ENABLED=true
      # Use these to choose what is run
      - DD_DEMO_ENV_PROCESS=rspec
      - DD_DEMO_ENV_FEATURES=tracing
    stdin_open: true
    tty: true
  ddagent:
    image: datadog/dd-apm-demo:agent
    environment:
      - DD_APM_ENABLED=true
      - DD_PROCESS_AGENT_ENABLED=false
      - DD_BIND_HOST=0.0.0.0
      - DD_API_KEY=invalid_api_key
      - LOG_LEVEL=DEBUG
      - DD_LOGS_STDOUT=yes
      - DD_DOGSTATSD_NON_LOCAL_TRAFFIC=true
    expose:
      - "8125/udp"
      - "8126"
  # Build at dd-trace-rb level to copy in current code
  # and use it as the `ddtrace` gem.
  integration-tester:
    build:
      context: ../../..
      dockerfile: integration/apps/rspec/Dockerfile-ci
      args:
        BASE_IMAGE: ${APP_IMAGE}
    command: bin/test
    # volumes:
    #   - .:/app
    #   - ../../images/include:/vendor/dd-demo
    #   - ../../..:/vendor/dd-trace-rb

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ddtrace-0.51.1 integration/apps/rspec/docker-compose.ci.yml
ddtrace-0.51.0 integration/apps/rspec/docker-compose.ci.yml
ddtrace-0.50.0 integration/apps/rspec/docker-compose.ci.yml