Sha256: a0492f18df21237dc733bddc19d2b167cc102b781fca1ad46fa0a27de6ddf6e9

Contents?: true

Size: 1.64 KB

Versions: 7

Compression:

Stored size: 1.64 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/rack/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-rack
      - DD_PROFILING_ENABLED=true
      # Use these to choose what is run
      - DD_DEMO_ENV_PROCESS=puma
      - DD_DEMO_ENV_FEATURES=tracing
    expose:
      - "80"
    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/rack/Dockerfile-ci
      args:
        BASE_IMAGE: ${APP_IMAGE}
    command: bin/test
    depends_on:
      - app
    environment:
      - TEST_HOSTNAME=app
      - TEST_PORT=80
      - TEST_INTEGRATION=true
      - HEALTH_CHECK_URL=http://app/health
      - HEALTH_CHECK_INTERVAL=1
      - HEALTH_CHECK_MAX_ATTEMPTS=30
    # volumes:
    #   - .:/app
    #   - ../../images/include:/vendor/dd-demo
    #   - ../../..:/vendor/dd-trace-rb

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ddtrace-0.51.1 integration/apps/rack/docker-compose.ci.yml
ddtrace-0.51.0 integration/apps/rack/docker-compose.ci.yml
ddtrace-0.50.0 integration/apps/rack/docker-compose.ci.yml
ddtrace-0.49.0 integration/apps/rack/docker-compose.ci.yml
ddtrace-0.48.0 integration/apps/rack/docker-compose.ci.yml
ddtrace-0.47.0 integration/apps/rack/docker-compose.ci.yml
ddtrace-0.46.0 integration/apps/rack/docker-compose.ci.yml