Sha256: ec79ba162bd427c7031bd5262f5eb475681af09168cb0ee2a5ccd98af09b9fd2

Contents?: true

Size: 1.89 KB

Versions: 7

Compression:

Stored size: 1.89 KB

Contents

version: '3.4'
services:
  app:
    build:
      context: .
      args:
        BASE_IMAGE: datadog/dd-apm-demo:rb-3.0
    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-ruby
      - DD_PROFILING_ENABLED=true
      # Use these to choose what is run
      - DD_DEMO_ENV_PROCESS=fibonacci
      - DD_DEMO_ENV_FEATURES=tracing
      # Use this for a local version of ddtrace
      - DD_DEMO_ENV_GEM_LOCAL_DDTRACE=/vendor/dd-trace-rb
      # Use these for a specific revision of ddtrace
      # - DD_DEMO_ENV_GEM_GIT_DDTRACE=https://github.com/DataDog/dd-trace-rb.git
      # - DD_DEMO_ENV_GEM_REF_DDTRACE=f233336994315bfa04dac581387a8152bab8b85a
    stdin_open: true
    tty: true
    volumes:
      - .:/app
      - ./data/app:/data/app
      - bundle:/usr/local/bundle
      - ../../images/include:/vendor/dd-demo
      - ../../..:/vendor/dd-trace-rb
  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
      - LOG_LEVEL=DEBUG
      - DD_LOGS_STDOUT=yes
      - DD_DOGSTATSD_NON_LOCAL_TRAFFIC=true
    expose:
      - "8125/udp"
      - "8126"
    volumes:
      - ../../images/agent/agent.yaml:/etc/datadog-agent/datadog.yaml
      # For monitoring performance of containers (e.g. CPU, Memory, etc...)
      # - type: bind
      #   source: ../../images/agent/agent.yaml
      #   target: /etc/datadog-agent/datadog.yaml
      # - type: bind
      #   source: /var/run/docker.sock
      #   target: /var/run/docker.sock:ro
      # - type: bind
      #   source: /proc/
      #   target: /host/proc/:ro
      # - type: bind
      #   source: /sys/fs/cgroup/
      #   target: /host/sys/fs/cgroup:ro
volumes:
  bundle:

Version data entries

7 entries across 7 versions & 1 rubygems

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