-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
62 lines (53 loc) · 1.2 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
version: '3.1'
services:
gonvey:
build: .
environment:
- GONVEY_LOG_LEVEL=DEBUG
- GONVEY_SERVER_PORT=8888
- GONVEY_PROXY_MAP={"/bloggo":["http://app1"],"/test":["http://app2","http://app3","http://app4"]}
ports:
- 8888:8888
depends_on:
- app1
- app2
- app3
- app4
metrics:
image: prom/prometheus
ports:
- 9090:9090
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- ./prometheus-data:/prometheus
metrics-gateway:
image: prom/pushgateway
ports:
- 9091:9091
metrics-dashboard:
image: grafana/grafana
ports:
- 3000:3000
volumes:
- ./grafana-data:/var/lib/grafana
- ./grafana/provisioning/:/etc/grafana/provisioning/
depends_on:
- metrics
# The 4 endpoints are simple http servers that take a port
# and return 404 to everything that makes request
app1:
image: ullaakut/simplehttptest
environment:
- PORT=80
app2:
image: ullaakut/simplehttptest
environment:
- PORT=80
app3:
image: ullaakut/simplehttptest
environment:
- PORT=80
app4:
image: ullaakut/simplehttptest
environment:
- PORT=80