chore(deps): update zabbix to v7.4.7 (#4000)
This commit is contained in:
8
apps/zabbix-server/7.4.7/.env.sample
Normal file
8
apps/zabbix-server/7.4.7/.env.sample
Normal file
@@ -0,0 +1,8 @@
|
||||
CONTAINER_NAME="zabbix-server"
|
||||
PANEL_APP_PORT_HTTP2="10051"
|
||||
PANEL_APP_PORT_HTTP="40047"
|
||||
PANEL_DB_HOST="127.0.0.1"
|
||||
ZABBIX_DB_PORT="3306"
|
||||
PANEL_DB_NAME="zabbix"
|
||||
PANEL_DB_USER="zabbix"
|
||||
PANEL_DB_USER_PASSWORD="MyDBPWD_brls9UwcRasl"
|
||||
80
apps/zabbix-server/7.4.7/data.yml
Normal file
80
apps/zabbix-server/7.4.7/data.yml
Normal file
@@ -0,0 +1,80 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
required: true
|
||||
type: service
|
||||
default: mysql
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
label:
|
||||
en: Database Service
|
||||
zh: 数据库服务
|
||||
params:
|
||||
- envKey: ZABBIX_DB_PORT
|
||||
key: mysql
|
||||
type: param
|
||||
value: "3306"
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: MySQL
|
||||
value: mysql
|
||||
- default: zabbix
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
labelZh: 数据库名
|
||||
label:
|
||||
en: Database
|
||||
zh: 数据库名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: zabbix
|
||||
envKey: PANEL_DB_USER
|
||||
labelEn: User
|
||||
labelZh: 数据库用户
|
||||
label:
|
||||
en: User
|
||||
zh: 数据库用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: zabbix
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库用户密码
|
||||
label:
|
||||
en: Password
|
||||
zh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: 10051
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP2
|
||||
labelEn: Gateway port
|
||||
labelZh: 网关端口
|
||||
label:
|
||||
en: Gateway port
|
||||
zh: 网关端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 40047
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
label:
|
||||
en: Port
|
||||
zh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
51
apps/zabbix-server/7.4.7/docker-compose.yml
Normal file
51
apps/zabbix-server/7.4.7/docker-compose.yml
Normal file
@@ -0,0 +1,51 @@
|
||||
services:
|
||||
zabbix-server-mysql:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP2}:10051"
|
||||
environment:
|
||||
- DB_SERVER_HOST=${PANEL_DB_HOST}
|
||||
- DB_SERVER_PORT=${ZABBIX_DB_PORT}
|
||||
- MYSQL_DATABASE=${PANEL_DB_NAME}
|
||||
- MYSQL_USER=${PANEL_DB_USER}
|
||||
- MYSQL_PASSWORD=${PANEL_DB_USER_PASSWORD}
|
||||
- ZBX_JAVAGATEWAY=zabbix-java-gateway
|
||||
image: zabbix/zabbix-server-mysql:7.4.7-alpine
|
||||
depends_on:
|
||||
- zabbix-java-gateway
|
||||
labels:
|
||||
createdBy: Apps
|
||||
|
||||
zabbix-java-gateway:
|
||||
container_name: ${CONTAINER_NAME}-gateway
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
image: zabbix/zabbix-java-gateway:7.4.7-alpine
|
||||
labels:
|
||||
createdBy: Apps
|
||||
|
||||
zabbix-web-nginx-mysql:
|
||||
container_name: ${CONTAINER_NAME}-nginx
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
- ZBX_SERVER_HOST=zabbix-server-mysql
|
||||
- DB_SERVER_HOST=${PANEL_DB_HOST}
|
||||
- MYSQL_DATABASE=${PANEL_DB_NAME}
|
||||
- MYSQL_USER=${PANEL_DB_USER}
|
||||
- MYSQL_PASSWORD=${PANEL_DB_USER_PASSWORD}
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8080
|
||||
image: zabbix/zabbix-web-nginx-mysql:7.4.7-alpine
|
||||
depends_on:
|
||||
- zabbix-server-mysql
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user