Adding monitor-compose and the Zabbix configuration
This commit is contained in:
parent
f2cfeed35c
commit
a2023c68aa
25
monitor-compose.yml
Normal file
25
monitor-compose.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
zabbix-server:
|
||||||
|
image: zabbix/zabbix-server-mysql:alpine-latest
|
||||||
|
container_name: zabbix-server
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 10051:10051
|
||||||
|
volumes:
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /zabbix/var/lib:/var/lib/zabbix
|
||||||
|
- /zabbix/usr/lib:/usr/lib/zabbix
|
||||||
|
env_file: .zabbix.env
|
||||||
|
zabbix-web:
|
||||||
|
container_name: zabbix-web
|
||||||
|
image: zabbix/zabbix-web-nginx-mysql:alpine-latest
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
volumes:
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
env_file: .zabbix.env
|
||||||
|
depends_on:
|
||||||
|
- zabbix-server
|
Loading…
Reference in New Issue
Block a user