services: onvif-agent: build: . environment: ZBX_HOSTNAME: ONVIF ZBX_SERVER_HOST: server ZBX_SERVER_PORT: 10051 volumes: - ./log:/var/log/zabbixagent2plugintemplate - ./config.yaml:/etc/zabbixagent2plugintemplate/config.yaml ports: - "8080:8080" networks: - zabbix-network restart: unless-stopped networks: zabbix-network: external: true