add ipv4addr for zabbix agent

This commit is contained in:
Maxim Khomutov 2023-11-21 14:58:33 +03:00
parent e11066d9ab
commit 9ed5b6942e

View File

@ -126,9 +126,6 @@ services:
zabbix-agent: zabbix-agent:
image: zabbix/zabbix-agent:alpine-6.0-latest image: zabbix/zabbix-agent:alpine-6.0-latest
profiles:
- full
- all
ports: ports:
- "10050:10050" - "10050:10050"
volumes: volumes:
@ -153,6 +150,7 @@ services:
pid: "host" pid: "host"
networks: networks:
zbx_net_backend: zbx_net_backend:
ipv4_address: 172.16.239.103
aliases: aliases:
- zabbix-agent - zabbix-agent
- zabbix-agent-passive - zabbix-agent-passive