-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (68 loc) · 1.58 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
version: '3'
services:
zabbix-mysql:
image: mysql:5.7.30
command: mysqld --character-set-server=utf8 --collation-server=utf8_bin
container_name: zabbix-mysql
ports:
- '3306:3306'
environment:
MYSQL_ROOT_PASSWORD: zabbix
volumes:
- ./mysql-data:/var/lib/mysql
zabbix-server:
image: zabbix/zabbix-server-mysql:latest
container_name: zabbix-server
environment:
DB_SERVER_HOST: "zabbix-mysql"
MYSQL_USER: root
MYSQL_PASSWORD: zabbix
ports:
- '10051:10051'
links:
- zabbix-mysql
depends_on:
- zabbix-mysql
zabbix-web:
image: zabbix/zabbix-web-nginx-mysql:latest
container_name: zabbix-web
environment:
DB_SERVER_HOST: zabbix-mysql
MYSQL_USER: root
MYSQL_PASSWORD: zabbix
ZBX_SERVER_HOST: "zabbix-server"
PHP_TZ: Europe/Kiev
ports:
- '80:8080'
- '443:443'
links:
- zabbix-mysql
- zabbix-server
depends_on:
- zabbix-mysql
- zabbix-server
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.7.0
environment:
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
volumes:
- ./elasticsearch/data:/usr/share/elasticsearch/data:rw
ports:
- 9200:9200
logstach:
image: docker.elastic.co/logstash/logstash:7.7.0
links:
- elasticsearch
ports:
- 5044:5044
depends_on:
- elasticsearch
kibana:
image: docker.elastic.co/kibana/kibana:7.7.0
ports:
- 5601:5601
links:
- elasticsearch
depends_on:
- elasticsearch