forked from appcelerator-archive/docker-telegraf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
33 lines (32 loc) · 1.04 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
version: "2"
services:
telegraf:
image: appcelerator/telegraf
build:
context: .
dockerfile: Dockerfile
ports:
- "8094:8094"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /var/run/utmp:/var/run/utmp:ro
- /tmp/docker-compose-telegraf-output:/var/data
environment:
OUTPUT_INFLUXDB_ENABLED: "false"
OUTPUT_FILE_ENABLED: "true"
OUTPUT_FILE_PATH: "/var/data/output.dat"
INPUT_DOCKER_ENABLED: "true"
INPUT_LISTENER_ENABLED: "true"
labels:
- "ServiceUUId=system.telegraf"
- "io.appcelerator.amp.build.mounts=/var/run/docker.sock,/var/run/utmp,/tmp/docker-compose-telegraf-output:/var/data"
sut:
image: appcelerator/sut
build:
context: ./sut
dockerfile: Dockerfile
volumes:
- /tmp/docker-compose-telegraf-output:/var/data
- /var/run/docker.sock:/var/run/docker-host.sock:ro
labels:
- "io.appcelerator.amp.build.mounts=/tmp/docker-compose-telegraf-output:/var/data,/var/run/docker.sock:/var/run/docker-host.sock"