forked from netdata/go.d.plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
43 lines (40 loc) · 878 Bytes
/
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
version: '3'
services:
netdata:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- 19999:19999
cap_add:
- SYS_PTRACE
security_opt:
- apparmor:unconfined
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
depends_on:
- springboot2
- httpd
springboot2:
build: mocks/springboot2
ports:
- 8080:8080
httpd:
image: httpd:2.4
volumes:
- ./mocks/httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro
springboot2_random:
image: alpine
depends_on:
- springboot2
command:
- '/bin/sh'
- '-c'
- |
while :; do
wget -O /dev/null http://springboot2:8080/hello || :
wget -O /dev/null http://springboot2:8080/hello || :
wget -O /dev/null http://springboot2:8080/ || :
sleep 0.7
done