From 554da113e36deb51a2a897a64ee0c547aa853d8f Mon Sep 17 00:00:00 2001 From: imbytecat Date: Fri, 23 Aug 2024 13:58:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(docker):=20compose=20=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compose.yaml => compose.zabbixagent.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename compose.yaml => compose.zabbixagent.yaml (67%) diff --git a/compose.yaml b/compose.zabbixagent.yaml similarity index 67% rename from compose.yaml rename to compose.zabbixagent.yaml index 648c0ac..83f54ef 100644 --- a/compose.yaml +++ b/compose.zabbixagent.yaml @@ -4,9 +4,12 @@ services: context: . dockerfile: zabbixagent.dockerfile environment: - ZBX_HOSTNAME: ONVIF plugin for Zabbix agent 2 + ZBX_HOSTNAME: OnvifAgent plugin ZBX_SERVER_HOST: server ZBX_SERVER_PORT: 10051 + volumes: + - ./log:/var/log/onvif-agent + - ./config.yaml:/etc/onvif-agent/config.yaml networks: - zabbix-network restart: unless-stopped