diff --git a/apps/homarr/0.15.7/.env b/apps/homarr/0.15.7/.env new file mode 100644 index 0000000..4d1058f --- /dev/null +++ b/apps/homarr/0.15.7/.env @@ -0,0 +1,6 @@ +# 数据持久化路径 [必填] +BAOTA_ROOT_PATH=/home/baota + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=7575 + diff --git a/apps/homarr/0.15.7/data.yml b/apps/homarr/0.15.7/data.yml new file mode 100644 index 0000000..d4f817f --- /dev/null +++ b/apps/homarr/0.15.7/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: "/home/baota" + edit: true + envKey: BAOTA_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 7575 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number diff --git a/apps/homarr/0.15.7/docker-compose.yml b/apps/homarr/0.15.7/docker-compose.yml new file mode 100644 index 0000000..3040455 --- /dev/null +++ b/apps/homarr/0.15.7/docker-compose.yml @@ -0,0 +1,21 @@ +networks: + 1panel-network: + external: true +services: + baota: + container_name: homarr + env_file: + - ./envs/global.env + - .env + image: ghcr.io/ajnart/homarr:0.15.7 + labels: + createdBy: Apps + network_mode: ${NETWORK_MODE} + ports: + - ${PANEL_APP_PORT_HTTP}:7575 + restart: always + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - ${HOMARR_ROOT_PATH}/configs:/app/data/configs + - ${HOMARR_ROOT_PATH}/icons:/app/public/icons + - ${HOMARR_ROOT_PATH}/data:/data diff --git a/apps/homarr/0.15.7/envs/default.env b/apps/homarr/0.15.7/envs/default.env new file mode 100644 index 0000000..cd05f46 --- /dev/null +++ b/apps/homarr/0.15.7/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/apps/homarr/0.15.7/envs/global.env b/apps/homarr/0.15.7/envs/global.env new file mode 100644 index 0000000..e10989f --- /dev/null +++ b/apps/homarr/0.15.7/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/apps/homarr/0.15.7/scripts/init.sh b/apps/homarr/0.15.7/scripts/init.sh new file mode 100644 index 0000000..07fb8c3 --- /dev/null +++ b/apps/homarr/0.15.7/scripts/init.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + sed -i '/^GLOBAL_ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/homarr/0.15.7/scripts/uninstall.sh b/apps/homarr/0.15.7/scripts/uninstall.sh new file mode 100644 index 0000000..c86c4fb --- /dev/null +++ b/apps/homarr/0.15.7/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/homarr/0.15.7/scripts/upgrade.sh b/apps/homarr/0.15.7/scripts/upgrade.sh new file mode 100644 index 0000000..07fb8c3 --- /dev/null +++ b/apps/homarr/0.15.7/scripts/upgrade.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + sed -i '/^GLOBAL_ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/homarr/README.md b/apps/homarr/README.md new file mode 100644 index 0000000..d3a9f92 --- /dev/null +++ b/apps/homarr/README.md @@ -0,0 +1,33 @@ +# homarr + +一个时尚、现代化的仪表板 + +![homarr](https://file.lifebus.top/imgs/homarr_cover.png) + +![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue) + +## 特性 + +🖌️ 通过广泛的拖放网格系统进行高度可定制 + +✨ 与您最喜欢的自托管应用程序无缝集成 + +📌 简单快速的应用程序管理 - 不涉及 YAML + +🙊 先进的机密管理系统,增强安全性 + +📄 详细的文档和活跃的社区 + +🔍 立即搜索网络或支持的集成 + +🏴§筛选偢筛选偮筛选偩筛选偲筛选偿使用内置状态系统监控您的应用程序 + +🦞 全面的内置图标选择器,包含 7000 多个图标 + +🐳 使用 Docker、unRAID 和 Synology 轻松部署 + +🚀 与任何主要消费类硬件兼容(x86、Raspberry Pi、旧笔记本电脑......) + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/apps/homarr/data.yml b/apps/homarr/data.yml new file mode 100644 index 0000000..1c57a44 --- /dev/null +++ b/apps/homarr/data.yml @@ -0,0 +1,14 @@ +additionalProperties: + key: homarr + name: Homarr + tags: + - WebSite + - Local + shortDescZh: 一个时尚、现代化的仪表板 + shortDescEn: A stylish, modern dashboard + type: website + crossVersionUpdate: true + limit: 0 + website: https://homarr.dev/ + github: https://github.com/ajnart/homarr/ + document: https://homarr.dev/ diff --git a/apps/homarr/logo.png b/apps/homarr/logo.png new file mode 100644 index 0000000..d76809e Binary files /dev/null and b/apps/homarr/logo.png differ