forked from perforce/p4prometheus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (41 loc) · 935 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
44
45
46
version: '3.4'
# A couple of machines to show installation of SDP, Prometheus, Grafana, p4prometheus etc.
services:
master:
build:
context: demo/
target: sdpmaster
hostname: master
ports:
- "2166:1999"
- "9101:9100"
command: /usr/sbin/sshd -D
replica_edge:
build:
context: demo/
target: sdpbase
hostname: replica_edge
ports:
- "2266:1999"
- "9102:9100"
command: /usr/sbin/sshd -D
links:
- master
monitor:
build:
context: demo/
target: monitor
hostname: monitor
ports:
- "9100:9100"
- "9090:9090"
command: /p4/setup.sh
links:
- master
grafana:
image: grafana/grafana
hostname: grafana
ports:
- "3000:3000"
links:
- monitor