blob: 719a35749259d3822f59b6312c735e2a4dfedec4 (
plain)
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:latest
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"
|