diff --git a/apps/h5ai/1.25.0/.env.sample b/apps/h5ai/1.25.0/.env.sample new file mode 100644 index 00000000..9dd6e988 --- /dev/null +++ b/apps/h5ai/1.25.0/.env.sample @@ -0,0 +1,7 @@ +CONTAINER_NAME="h5ai" +PANEL_APP_PORT_HTTP="40048" +DATA_PATH="./data/share" +CONFIG_PATH="./data/config" +AUTH_ENABLE="true" +USER="h5ai" +PASSWORD="PASSWORD" \ No newline at end of file diff --git a/apps/h5ai/1.25.0/data.yml b/apps/h5ai/1.25.0/data.yml new file mode 100644 index 00000000..62c56cbc --- /dev/null +++ b/apps/h5ai/1.25.0/data.yml @@ -0,0 +1,47 @@ +additionalProperties: + formFields: + - default: 40048 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data/share + edit: true + envKey: DATA_PATH + labelEn: The path to the shared data folder + labelZh: 分享的数据文件夹路径 + required: true + type: text + - default: ./data/config + edit: true + envKey: CONFIG_PATH + labelEn: Path to the configuration file + labelZh: 配置文件所在路径 + required: true + type: text + - default: "true" + edit: true + envKey: AUTH_ENABLE + labelEn: "Authentication (On: true, Off: false)" + labelZh: 身份验证(开启:true,关闭:false) + required: true + type: text + - default: h5ai + envKey: USER + labelEn: User + labelZh: 用户名 + random: true + required: false + rule: paramCommon + type: text + - default: h5ai + envKey: PASSWORD + labelEn: Password + labelZh: 用户密码 + random: true + required: false + rule: paramComplexity + type: password \ No newline at end of file diff --git a/apps/h5ai/1.25.0/docker-compose.yml b/apps/h5ai/1.25.0/docker-compose.yml new file mode 100644 index 00000000..c2ad4bca --- /dev/null +++ b/apps/h5ai/1.25.0/docker-compose.yml @@ -0,0 +1,27 @@ +version: '3' +services: + h5ai: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:80" + volumes: + - "${DATA_PATH}:/h5ai" + - "${CONFIG_PATH}::/config" + environment: + - PUID=1000 + - PGID=1000 + - TZ=Asia/Shanghai + - HTPASSWD=${AUTH_ENABLE} + - HTPASSWD_USER=${USER} + - HTPASSWD_PW=${PASSWORD} + tty: true + image: bin20088/h5ai:1.25.0 + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/h5ai/README.md b/apps/h5ai/README.md new file mode 100644 index 00000000..b7ebb5d6 --- /dev/null +++ b/apps/h5ai/README.md @@ -0,0 +1,73 @@ +# h5ai + +[![license][license-img]][github] [![web][web-img]][web] [![github][github-img]][github] + +A modern HTTP web server index for Apache httpd, lighttpd, and nginx. + + +## Important + +* Do **not** install any files from the `src` folder, they need to be + preprocessed to work correctly! +* Find a preprocessed package and detailed install instructions on the + [project page][web]. +* For bug reports and feature requests please use [issues][github-issues]. + + +## Build + +There are installation ready packages for the latest [releases][release] and +[dev builds][develop]. But to build **h5ai** yourself either `git clone` or +download the repository. From within the root folder run the following +commands to find a fresh zipball in folder `build` (tested on linux only, +requires [`node 10.0+`][node] to be installed, might work on other +configurations). + +~~~sh +> npm install +> npm run build +~~~ + + +## License + +The MIT License (MIT) + +Copyright (c) 2020 Lars Jung (https://larsjung.de) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +## References + +**h5ai** profits from other projects, all of them licensed under the MIT license +too. Exceptions are some [Material Design icons][material-design-icons] (CC BY 4.0). + + +[web]: https://larsjung.de/h5ai/ +[github]: https://github.com/lrsjng/h5ai +[github-issues]: https://github.com/lrsjng/h5ai/issues +[release]: https://release.larsjung.de/h5ai/ +[develop]: https://release.larsjung.de/h5ai/develop/ +[node]: https://nodejs.org +[material-design-icons]: https://github.com/google/material-design-icons + +[license-img]: https://img.shields.io/badge/license-MIT-a0a060.svg?style=flat-square +[web-img]: https://img.shields.io/badge/web-larsjung.de/h5ai-a0a060.svg?style=flat-square +[github-img]: https://img.shields.io/badge/github-lrsjng/h5ai-a0a060.svg?style=flat-square diff --git a/apps/h5ai/data.yml.bak b/apps/h5ai/data.yml.bak new file mode 100644 index 00000000..c61d0988 --- /dev/null +++ b/apps/h5ai/data.yml.bak @@ -0,0 +1,20 @@ +name: h5ai +tags: + - 工具 +title: 用于Apache httpd,lighttpd和nginx的HTTP Web服务器索引 +type: 工具 +description: 用于Apache httpd,lighttpd和nginx的HTTP Web服务器索引 +additionalProperties: + key: h5ai + name: h5ai + tags: + - Tool + shortDescZh: 用于Apache httpd,lighttpd和nginx的HTTP Web服务器索引 + shortDescEn: HTTP web server index for Apache httpd, lighttpd and nginx + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://hub.docker.com/r/bin20088/h5ai + github: https://github.com/lrsjng/h5ai + document: https://github.com/lrsjng/h5ai diff --git a/apps/h5ai/latest/.env.sample b/apps/h5ai/latest/.env.sample new file mode 100644 index 00000000..9dd6e988 --- /dev/null +++ b/apps/h5ai/latest/.env.sample @@ -0,0 +1,7 @@ +CONTAINER_NAME="h5ai" +PANEL_APP_PORT_HTTP="40048" +DATA_PATH="./data/share" +CONFIG_PATH="./data/config" +AUTH_ENABLE="true" +USER="h5ai" +PASSWORD="PASSWORD" \ No newline at end of file diff --git a/apps/h5ai/latest/data.yml b/apps/h5ai/latest/data.yml new file mode 100644 index 00000000..62c56cbc --- /dev/null +++ b/apps/h5ai/latest/data.yml @@ -0,0 +1,47 @@ +additionalProperties: + formFields: + - default: 40048 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data/share + edit: true + envKey: DATA_PATH + labelEn: The path to the shared data folder + labelZh: 分享的数据文件夹路径 + required: true + type: text + - default: ./data/config + edit: true + envKey: CONFIG_PATH + labelEn: Path to the configuration file + labelZh: 配置文件所在路径 + required: true + type: text + - default: "true" + edit: true + envKey: AUTH_ENABLE + labelEn: "Authentication (On: true, Off: false)" + labelZh: 身份验证(开启:true,关闭:false) + required: true + type: text + - default: h5ai + envKey: USER + labelEn: User + labelZh: 用户名 + random: true + required: false + rule: paramCommon + type: text + - default: h5ai + envKey: PASSWORD + labelEn: Password + labelZh: 用户密码 + random: true + required: false + rule: paramComplexity + type: password \ No newline at end of file diff --git a/apps/h5ai/latest/docker-compose.yml b/apps/h5ai/latest/docker-compose.yml new file mode 100644 index 00000000..477d2c1e --- /dev/null +++ b/apps/h5ai/latest/docker-compose.yml @@ -0,0 +1,27 @@ +version: '3' +services: + h5ai: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:80" + volumes: + - "${DATA_PATH}:/h5ai" + - "${CONFIG_PATH}::/config" + environment: + - PUID=1000 + - PGID=1000 + - TZ=Asia/Shanghai + - HTPASSWD=${AUTH_ENABLE} + - HTPASSWD_USER=${USER} + - HTPASSWD_PW=${PASSWORD} + tty: true + image: bin20088/h5ai:latest + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/h5ai/logo.png b/apps/h5ai/logo.png new file mode 100644 index 00000000..023fe72d Binary files /dev/null and b/apps/h5ai/logo.png differ diff --git a/apps/zabbix-server/6.4.4/data.yml b/apps/zabbix-server/6.4.4/data.yml index 608ba920..fe64df81 100644 --- a/apps/zabbix-server/6.4.4/data.yml +++ b/apps/zabbix-server/6.4.4/data.yml @@ -15,10 +15,6 @@ additionalProperties: key: mysql type: param value: "3306" - #- envKey: ZABBIX_DB_PORT - # key: postgresql - # type: param - # value: "5432" required: true type: apps values: diff --git a/apps/zabbix-server/6.4.4/docker-compose.yml b/apps/zabbix-server/6.4.4/docker-compose.yml index 490935de..4d300f25 100644 --- a/apps/zabbix-server/6.4.4/docker-compose.yml +++ b/apps/zabbix-server/6.4.4/docker-compose.yml @@ -13,7 +13,6 @@ services: - MYSQL_DATABASE=${PANEL_DB_NAME} - MYSQL_USER=${PANEL_DB_USER} - MYSQL_PASSWORD=${PANEL_DB_USER_PASSWORD} - #- MYSQL_ROOT_PASSWORD=root_pwd - ZBX_JAVAGATEWAY=zabbix-java-gateway image: zabbix/zabbix-server-mysql:alpine-6.4.4 depends_on: @@ -41,7 +40,6 @@ services: - MYSQL_DATABASE=${PANEL_DB_NAME} - MYSQL_USER=${PANEL_DB_USER} - MYSQL_PASSWORD=${PANEL_DB_USER_PASSWORD} - #- MYSQL_ROOT_PASSWORD=root_pwd ports: - ${PANEL_APP_PORT_HTTP}:8080 image: zabbix/zabbix-web-nginx-mysql:alpine-6.4.4 diff --git a/apps/zabbix-server/latest/data.yml b/apps/zabbix-server/latest/data.yml index 608ba920..fe64df81 100644 --- a/apps/zabbix-server/latest/data.yml +++ b/apps/zabbix-server/latest/data.yml @@ -15,10 +15,6 @@ additionalProperties: key: mysql type: param value: "3306" - #- envKey: ZABBIX_DB_PORT - # key: postgresql - # type: param - # value: "5432" required: true type: apps values: diff --git a/apps/zabbix-server/latest/docker-compose.yml b/apps/zabbix-server/latest/docker-compose.yml index c9c60851..d2ba962c 100644 --- a/apps/zabbix-server/latest/docker-compose.yml +++ b/apps/zabbix-server/latest/docker-compose.yml @@ -13,7 +13,6 @@ services: - MYSQL_DATABASE=${PANEL_DB_NAME} - MYSQL_USER=${PANEL_DB_USER} - MYSQL_PASSWORD=${PANEL_DB_USER_PASSWORD} - #- MYSQL_ROOT_PASSWORD=root_pwd - ZBX_JAVAGATEWAY=zabbix-java-gateway image: zabbix/zabbix-server-mysql:alpine-latest depends_on: @@ -41,7 +40,6 @@ services: - MYSQL_DATABASE=${PANEL_DB_NAME} - MYSQL_USER=${PANEL_DB_USER} - MYSQL_PASSWORD=${PANEL_DB_USER_PASSWORD} - #- MYSQL_ROOT_PASSWORD=root_pwd ports: - ${PANEL_APP_PORT_HTTP}:8080 image: zabbix/zabbix-web-nginx-mysql:alpine-latest