-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
77 lines (70 loc) · 1.76 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
72
73
74
75
76
77
version: "3.7"
services:
app-api-say:
container_name: app-api-say
image: app-api-say
hostname: app.api.say.com
build:
context: ./app-api-say
dockerfile: Dockerfile
ports:
- 9080:9080
networks:
api.network:
aliases:
- app.api.say.com
restart: always
zipkin:
container_name: zipkin
image: openzipkin/zipkin
hostname: zipkin
ports:
- 9411:9411
networks:
api.network:
aliases:
- zipkin.srv.com
restart: always
prometheus:
container_name: prometheus
image: prom/prometheus
hostname: prometheus
ports:
- 9090:9090
volumes:
- ./monitor-files/prometheus.yml:/etc/prometheus/prometheus.yml
networks:
api.network:
aliases:
- prometheus.srv.com
restart: always
prometheus-node:
container_name: prometheus-node
image: prom/node-exporter
hostname: prometheus-node
ports:
- 9100:9100
networks:
api.network:
aliases:
- prometheus.node.com
restart: always
grafana:
container_name: grafana
image: grafana/grafana
hostname: grafana
environment:
GF_SECURITY_ADMIN_PASSWORD: P@ssw0rd
ports:
- 3000:3000
volumes:
- ./monitor-files/grafana/provisioning/datasources/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml
- ./monitor-files/grafana/provisioning/dashboards/liberty-metrics_rev1.json:/etc/grafana/provisioning/dashboards/liberty-metrics_rev1.json
- ./monitor-files/grafana/provisioning/dashboards/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml
networks:
api.network:
aliases:
- grafana.com
restart: always
networks:
api.network: