Difference between revisions of "Template:Dd example"

From wikieduonline
Jump to navigation Jump to search
(Created page with " version: '3' services: redis: image: redis datadog: build: datadog pid: host environment: - DD_API_KEY=${DD_API_KEY} - DD_SITE=datadogh...")
 
Line 11: Line 11:
 
     [[volumes:]]
 
     [[volumes:]]
 
       - [[/var/run/docker.sock]]:/var/run/docker.sock
 
       - [[/var/run/docker.sock]]:/var/run/docker.sock
       - /proc/:/host/proc/:ro
+
       - [[/proc/:]][[/host/proc/:ro]]
 
       - /sys/fs/cgroup:/host/sys/fs/cgroup:ro
 
       - /sys/fs/cgroup:/host/sys/fs/cgroup:ro

Revision as of 09:09, 28 August 2024

version: '3'
services:
  redis:
    image: redis
  datadog:
    build: datadog
    pid: host
    environment:
     - DD_API_KEY=${DD_API_KEY}
     - DD_SITE=datadoghq.com
    volumes:
     - /var/run/docker.sock:/var/run/docker.sock
     - /proc/:/host/proc/:ro
     - /sys/fs/cgroup:/host/sys/fs/cgroup:ro

Advertising: