fix(docker): compose 文件映射

This commit is contained in:
2024-08-23 13:58:51 +08:00
parent f2d4474c59
commit 554da113e3

View File

@ -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