-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
124 lines (114 loc) · 2.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
version: '3.6'
services:
prometheus:
image: prom/prometheus:latest
volumes:
- ./prometheus:/etc/prometheus/
container_name: prometheus
hostname: prometheus
command:
- --config.file=./configuration-files/prometheus.yml
ports:
- 9090:9090
restart: unless-stopped
environment:
TZ: "Europe/Moscow"
networks:
- default
node-exporter:
image: prom/node-exporter
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
container_name: exporter
hostname: exporter
command:
- --path.procfs=/host/proc
- --path.sysfs=/host/sys
- --collector.filesystem.ignored-mount-points
- ^/(sys|proc|dev|host|etc|rootfs/var/lib/docker/containers|rootfs/var/lib/docker/overlay2|rootfs/run/docker/netns|rootfs/var/lib/docker/aufs)($$|/)
ports:
- 9100:9100
restart: unless-stopped
environment:
TZ: "Asia/Ekaterinburg"
networks:
- default
grafana:
image: grafana/grafana
user: root
depends_on:
- prometheus
ports:
- 3000:3000
volumes:
- ./grafana:/var/lib/grafana
- ./grafana/provisioning/:/etc/grafana/provisioning/
container_name: grafana
hostname: grafana
restart: unless-stopped
environment:
TZ: "Asia/Ekaterinburg"
networks:
- default
redis:
image: "redislabs/rejson"
container_name: 'RedisCacheServer'
restart: always
ports:
- '6379:6379'
command: redis-server --save 20 1 --loglevel warning --requirepass sOmE_SeCuRe_PaSsWoRd
volumes:
- cache:/data
networks:
- default
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: 'rabbitmq'
ports:
- 5672:5672
volumes:
- ~/.docker-conf/rabbitmq/data/:/var/lib/rabbitmq/
- ~/.docker-conf/rabbitmq/log/:/var/log/rabbitmq
networks:
- default
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0
ports:
- "9200:9200"
- "9300:9300"
environment:
- discovery.type=single-node
kibana:
image: docker.elastic.co/kibana/kibana:6.6.0
ports:
- "5601:5601"
environment:
SERVER_NAME: kibana
SERVER_HOST: kibana
ELASTICSEARCH_HOSTS: http://host.docker.internal:9200/
depends_on:
- elastic
logstash:
container_name: logstash
image: docker.elastic.co/logstash/logstash:6.6.0
volumes:
- ./logstash-conf:/usr/share/logstash/pipeline/
ports:
- "5044:5044"
environment:
ELASTIC_HOST: host.docker.internal:9200
depends_on:
- elastic
mongodb:
image: mongo:6-jammy
ports:
- '27017:27017'
volumes:
- dbdata6:/data/db
volumes:
cache:
driver: local
dbdata6:
driver: local