mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-04-02 20:06:39 +08:00
发布 Homarr 1.18.1
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
5f43b1bff8
commit
1c4b71fb43
@ -1,8 +1,8 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/baota"
|
||||
- default: "/home/homarr"
|
||||
edit: true
|
||||
envKey: BAOTA_ROOT_PATH
|
||||
envKey: HOMARR_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
|
||||
@ -3,7 +3,7 @@ networks:
|
||||
external: true
|
||||
|
||||
services:
|
||||
baota:
|
||||
homarr:
|
||||
image: ghcr.io/ajnart/homarr:0.15.10
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
|
||||
24
homarr/1.18.1/data.yml
Normal file
24
homarr/1.18.1/data.yml
Normal file
@ -0,0 +1,24 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/homarr"
|
||||
edit: true
|
||||
envKey: HOMARR_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
|
||||
- default: "b7fa3f6f09ac8084ca03b94589d799e6a9225212e8f691c6b419a139acf412c7"
|
||||
edit: true
|
||||
envKey: SECRET_ENCRYPTION_KEY
|
||||
labelZh: 密钥
|
||||
labelEn: Secret key
|
||||
required: true
|
||||
type: text
|
||||
20
homarr/1.18.1/docker-compose.yml
Normal file
20
homarr/1.18.1/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
homarr:
|
||||
image: ghcr.io/ajnart/homarr:0.15.10
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
network_mode: ${NETWORK_MODE}
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:7575
|
||||
env_file:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ${HOMARR_ROOT_PATH}/appdata:/appdata
|
||||
2
homarr/1.18.1/envs/default.env
Normal file
2
homarr/1.18.1/envs/default.env
Normal file
@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
2
homarr/1.18.1/envs/global.env
Normal file
2
homarr/1.18.1/envs/global.env
Normal file
@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
17
homarr/1.18.1/scripts/init.sh
Normal file
17
homarr/1.18.1/scripts/init.sh
Normal file
@ -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
|
||||
10
homarr/1.18.1/scripts/uninstall.sh
Normal file
10
homarr/1.18.1/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
17
homarr/1.18.1/scripts/upgrade.sh
Normal file
17
homarr/1.18.1/scripts/upgrade.sh
Normal file
@ -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
|
||||
@ -28,6 +28,16 @@
|
||||
|
||||
🚀 与任何主要消费类硬件兼容(x86、Raspberry Pi、旧笔记本电脑......)
|
||||
|
||||
## 安装说明
|
||||
|
||||
> 不支持从 1.0.0 之前的版本直接升级至 1.0.0 及以上版本
|
||||
|
||||
### 快捷密钥生成
|
||||
|
||||
```bash
|
||||
openssl rand -hex 32
|
||||
```
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
shortDescZh: 一个时尚、现代化的仪表板
|
||||
shortDescEn: A stylish, modern dashboard
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
crossVersionUpdate: false
|
||||
limit: 0
|
||||
website: https://homarr.dev/
|
||||
github: https://github.com/ajnart/homarr/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user