forked from ansible-collections/community.zabbix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (37 loc) · 913 Bytes
/
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
---
version: '3.7'
services:
zabbix-db:
image: postgres:13
environment:
POSTGRES_DB: "zabbix"
POSTGRES_USER: "zabbix"
POSTGRES_PASSWORD: "zabbix"
zabbix-server:
image: zabbix/zabbix-server-pgsql:ubuntu-${zabbix_version}-latest
environment:
DB_SERVER_HOST: "zabbix-db"
POSTGRES_USER: "zabbix"
POSTGRES_PASSWORD: "zabbix"
POSTGRES_DB: "zabbix"
depends_on:
- "zabbix-db"
links:
- "zabbix-db"
zabbix-web:
image: zabbix/zabbix-web-nginx-pgsql:ubuntu-${zabbix_version}-latest
environment:
DB_SERVER_HOST: "zabbix-db"
POSTGRES_USER: "zabbix"
POSTGRES_PASSWORD: "zabbix"
POSTGRES_DB: "zabbix"
ZBX_SERVER_HOST: "zabbix-server"
PHP_TZ: "Asia/Tokyo"
depends_on:
- "zabbix-db"
- "zabbix-server"
links:
- "zabbix-db"
- "zabbix-server"
ports:
- "8080:8080"