2022-09-12 15:18:54 +05:00
|
|
|
version: '3.5'
|
|
|
|
services:
|
|
|
|
#########################
|
|
|
|
zabbix:
|
2022-09-13 11:27:35 +05:00
|
|
|
build: .
|
2022-09-30 20:01:30 +05:00
|
|
|
image: git.shihaam.dev/dockerfiles/zabbix-server
|
2022-09-12 15:18:54 +05:00
|
|
|
volumes:
|
|
|
|
- $PWD/configdir/etc/zabbix/zabbix_server.conf:/etc/zabbix/zabbix_server.conf
|
|
|
|
- $PWD/configdir/etc/zabbix/nginx.conf:/etc/zabbix/nginx.conf
|
2022-09-12 15:50:58 +05:00
|
|
|
- $PWD/configdir/etc/zabbix/web/zabbix.conf.php:/etc/zabbix/web/zabbix.conf.php
|
2022-09-13 10:29:06 +05:00
|
|
|
- $PWD/configdir/etc/php/7.4/fpm/php-fpm.conf:/etc/php/7.4/fpm/php-fpm.conf
|
2022-09-18 15:29:24 +05:00
|
|
|
- $PWD/datadir/usr/lib/zabbix/externalscripts:/usr/lib/zabbix/externalscripts
|
|
|
|
- $PWD/datadir/usr/lib/zabbix/alertscripts:/usr/lib/zabbix/alertscripts
|
2022-09-12 15:18:54 +05:00
|
|
|
ports:
|
|
|
|
- 8000:80
|
2022-09-12 16:01:47 +05:00
|
|
|
- 10051:10051
|
2022-09-12 15:18:54 +05:00
|
|
|
restart: always
|