-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
65 lines (61 loc) · 1.28 KB
/
docker-compose.yaml
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
version: '3'
services:
postgres:
image: postgres:latest
restart: always
environment:
POSTGRES_DB: zabbix
POSTGRES_USER: zabbix
POSTGRES_PASSWORD: zabbix
ports:
- 5432:5432
networks:
- private
zabbix-server:
restart: unless-stopped
links:
- postgres:postgres
image: zabbix/zabbix-server-pgsql:alpine-6.2-latest
environment:
DB_SERVER_HOST: postgres
POSTGRES_USER: zabbix
POSTGRES_PASSWORD: zabbix
POSTGRES_DB: zabbix
ports:
- 10051:10051
depends_on:
- postgres
networks:
- private
zabbix-frontend:
restart: unless-stopped
links:
- zabbix-server:zabbix-server
- postgres:postgres
image: zabbix/zabbix-web-nginx-pgsql:alpine-6.2-latest
environment:
DB_SERVER_HOST: postgres
POSTGRES_USER: zabbix
POSTGRES_PASSWORD: zabbix
POSTGRES_DB: zabbix
ZBX_SERVER_HOST: zabbix-server
ports:
- 80:8080
- 443:8443
volumes:
- /etc/ssl/nginx:/etc/ssl/nginx:ro
depends_on:
- postgres
- zabbix-server
networks:
- private
grafana:
image: grafana/grafana-oss:latest
user: root
ports:
- 3000:3000
networks:
- private
networks:
private:
driver: bridge