forked from nhatfield/hnt_monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hnt_monitor.yml
96 lines (90 loc) · 2.24 KB
/
hnt_monitor.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
version: "3"
networks:
hnt_monitor:
driver: bridge
ipam:
config:
- subnet: 10.30.0.0/24
services:
hnt_monitor:
container_name: hnt_monitor
image: hnt_monitor:latest
restart: always
build:
dockerfile: ./build/docker/hnt_monitor/Dockerfile
context: .
environment:
DO_NOT_REMOVE: "setup"
HNT_PROMETHEUS_PG_HOST: "http://prometheus_pushgateway:9091"
networks:
hnt_monitor:
ipv4_address: 10.30.0.05
depends_on:
- prometheus_pushgateway
prometheus_pushgateway:
container_name: prometheus_pushgateway
image: prom/pushgateway
restart: always
ports:
- "9091:9091"
networks:
hnt_monitor:
ipv4_address: 10.30.0.04
prometheus:
container_name: prometheus
image: prom/prometheus
restart: always
ports:
- "9090:9090"
networks:
hnt_monitor:
ipv4_address: 10.30.0.03
volumes:
- ./src/conf/prometheus.yml:/etc/prometheus/prometheus.yml
grafana:
container_name: grafana
image: grafana/grafana
restart: always
ports:
- "3000:3000"
networks:
hnt_monitor:
ipv4_address: 10.30.0.02
# elasticsearch:
# restart: always
# container_name: elasticsearch
# image: docker.elastic.co/elasticsearch/elasticsearch:6.8.19
# command: "elasticsearch -Enetwork.host=0.0.0.0 -Enode.name='logging' -Etransport.host=0.0.0.0 -Ediscovery.zen.minimum_master_nodes=1 -Egateway.recover_after_time=5s -Expack.security.enabled='false'"
# ports:
# - 9200:9200
# networks:
# hnt_monitor:
# ipv4_address: 10.30.0.06
#
# kibana:
# restart: always
# container_name: kibana
# image: docker.elastic.co/kibana/kibana:6.8.19
# environment:
# ELASTICSEARCH_URL: "http://elasticsearch:9200"
# XPACK_MONITORING_ENABLED: "true"
# XPACK_SECURITY_ENABLED: "false"
# ports:
# - 5602:5601
# depends_on:
# - elasticsearch
# networks:
# hnt_monitor:
# ipv4_address: 10.30.0.07
#
# nginx-api:
# container_name: nginx-api
# image: nginx-api
# build:
# context: ./build/docker/nginx-api/
# restart: always
# ports:
# - "443:443"
# networks:
# hnt_monitor:
# ipv4_address: 10.30.0.08