1
0

精简提交历史记录

This commit is contained in:
okxlin
2023-11-09 19:15:01 +08:00
commit 691aa7aac9
1529 changed files with 800341 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
CONTAINER_NAME="zabbix-agent"
PANEL_APP_PORT_HTTP="10050"
HOSTNAME="127.0.0.1"
ZABBIX_SERVER="192.168.8.8"
ZABBIX_SERVER_PORT="10051"

View File

@@ -0,0 +1,32 @@
additionalProperties:
formFields:
- default: 10050
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: 127.0.0.1
edit: true
envKey: HOSTNAME
labelEn: Native host name
labelZh: 本机主机名
required: true
type: text
- default: 192.168.8.8
edit: true
envKey: ZABBIX_SERVER
labelEn: Zabbix server
labelZh: Zabbix服务端
required: true
type: text
- default: 10051
edit: true
envKey: ZABBIX_SERVER_PORT
labelEn: Zabbix server P-port
labelZh: Zabbix服务端端口
required: true
rule: paramPort
type: number

View File

@@ -0,0 +1,20 @@
version: "3"
services:
zabbix-agent:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:10050"
environment:
- ZBX_HOSTNAME=${HOSTNAME}
- ZBX_SERVER_HOST=${ZABBIX_SERVER}
- ZBX_SERVER_PORT=${ZABBIX_SERVER_PORT}
image: zabbix/zabbix-agent:alpine-6.4.4
labels:
createdBy: Apps
networks:
1panel-network:
external: true