mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-03 04:09:31 +01:00
Added missing Zabbix agent 2 status port
This commit is contained in:
parent
b7d9d1156d
commit
2deec17e48
1
.env
1
.env
@ -52,6 +52,7 @@ ZABBIX_WEB_APACHE_HTTP_PORT=8081
|
||||
ZABBIX_WEB_APACHE_HTTPS_PORT=8443
|
||||
ZABBIX_AGENT_PORT=10050
|
||||
ZABBIX_AGENT2_PORT=10060
|
||||
ZABBIX_AGENT2_STATUS_PORT=31999
|
||||
ZABBIX_JAVA_GATEWAY_PORT=10052
|
||||
ZABBIX_SNMPTRAPS_PORT=162
|
||||
ZABBIX_WEB_SERVICE_PORT=10053
|
||||
|
@ -72,7 +72,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
||||
apt-get -y autoremove && \
|
||||
apt-get -y clean
|
||||
|
||||
EXPOSE 10050/TCP
|
||||
EXPOSE 10050/TCP 31999/TCP
|
||||
|
||||
WORKDIR /var/lib/zabbix
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
ARG MAJOR_VERSION=7.2
|
||||
ARG ZBX_VERSION=${MAJOR_VERSION}.1
|
||||
ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ubuntu-${ZBX_VERSION}
|
||||
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||
|
||||
|
@ -439,6 +439,10 @@ services:
|
||||
published: "${ZABBIX_AGENT2_PORT}"
|
||||
protocol: tcp
|
||||
app_protocol: zabbix-agent
|
||||
- name: zabbix-agent-status
|
||||
target: 31999
|
||||
published: "${ZABBIX_AGENT2_STATUS_PORT}"
|
||||
protocol: tcp
|
||||
restart: "${RESTART_POLICY}"
|
||||
attach: false
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user