github.com/unigraph-dev/dgraph@v1.1.1-0.20200923154953-8b52b426f765/ocagent/docker-compose.yml (about) 1 version: "3.5" 2 services: 3 alpha1: 4 image: dgraph/dgraph:latest 5 container_name: alpha1 6 working_dir: /data/alpha1 7 labels: 8 cluster: test 9 ports: 10 - 8180:8180 11 - 9180:9180 12 volumes: 13 - type: bind 14 source: $GOPATH/bin 15 target: /gobin 16 read_only: true 17 command: /gobin/dgraph alpha -o 100 --my=alpha1:7180 --lru_mb=1024 --zero=zero1:5180 --logtostderr -v=2 --jaeger.collector=http://ocagent:14268 18 zero1: 19 image: dgraph/dgraph:latest 20 container_name: zero1 21 working_dir: /data/zero1 22 labels: 23 cluster: test 24 ports: 25 - 5180:5180 26 - 6180:6180 27 volumes: 28 - type: bind 29 source: $GOPATH/bin 30 target: /gobin 31 read_only: true 32 command: /gobin/dgraph zero -o 100 --idx=1 --my=zero1:5180 --replicas=3 --logtostderr --jaeger.collector=http://ocagent:14268 -v=2 --bindall 33 ocagent: 34 image: omnition/opencensus-agent:0.1.6 35 container_name: ocagent 36 labels: 37 cluster: test 38 ports: 39 - 14268 40 - 55678 41 - 55679:55679 42 volumes: 43 - type: bind 44 source: $GOPATH/src/github.com/dgraph-io/dgraph/ocagent/ocagent-config.yaml 45 target: /conf/ocagent-config.yaml 46 read_only: true 47 command: --config /conf/ocagent-config.yaml 48 datadog: 49 image: datadog/agent:latest 50 container_name: datadog 51 working_dir: /working/datadog 52 volumes: 53 - type: bind 54 source: /var/run/docker.sock 55 target: /var/run/docker.sock 56 read_only: true 57 - type: bind 58 source: /proc/ 59 target: /proc/ 60 read_only: true 61 - type: bind 62 source: /sys/fs/cgroup/ 63 target: /host/sys/fs/cgroup 64 read_only: true 65 environment: 66 - DD_API_KEY 67 - DD_APM_ENABLED=true 68 - DD_APM_NON_LOCAL_TRAFFIC=true 69 ports: 70 - 8126:8126 71 volumes: {}