added run instructions

This commit is contained in:
Shihaam Abdul Rahman 2022-09-30 20:02:34 +05:00
parent b53aa8d0c6
commit 01e02541e1
Signed by: shihaam
GPG Key ID: 3B007D22E5584980

View File

@ -27,8 +27,7 @@ version: '3.5'
services: services:
######################### #########################
zabbix: zabbix:
build: . image: git.shihaam.dev/dockerfiles/zabbix-server
image: zabbix
volumes: volumes:
- $PWD/configdir/etc/zabbix/zabbix_server.conf:/etc/zabbix/zabbix_server.conf - $PWD/configdir/etc/zabbix/zabbix_server.conf:/etc/zabbix/zabbix_server.conf
- $PWD/configdir/etc/zabbix/nginx.conf:/etc/zabbix/nginx.conf - $PWD/configdir/etc/zabbix/nginx.conf:/etc/zabbix/nginx.conf
@ -61,6 +60,7 @@ services:
depends_on: depends_on:
- zabbix - zabbix
``` ```
## To-do ## To-do
- mount all needed config dirs outside container. (currently only basic configs are there) - mount all needed config dirs outside container. (currently only basic configs are there)
- mount scirpt dirs outside container add alert and other custom scripts. - mount scirpt dirs outside container add alert and other custom scripts.