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