发布 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:
|
additionalProperties:
|
||||||
formFields:
|
formFields:
|
||||||
- default: "/home/baota"
|
- default: "/home/homarr"
|
||||||
edit: true
|
edit: true
|
||||||
envKey: BAOTA_ROOT_PATH
|
envKey: HOMARR_ROOT_PATH
|
||||||
labelZh: 数据持久化路径
|
labelZh: 数据持久化路径
|
||||||
labelEn: Data persistence path
|
labelEn: Data persistence path
|
||||||
required: true
|
required: true
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ networks:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
baota:
|
homarr:
|
||||||
image: ghcr.io/ajnart/homarr:0.15.10
|
image: ghcr.io/ajnart/homarr:0.15.10
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
labels:
|
labels:
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
# copyright© 2024 XinJiang Ms Studio
|
||||||
|
ENV_FILE=.env
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
# copyright© 2024 XinJiang Ms Studio
|
||||||
|
TZ=Asia/Shanghai
|
||||||
|
|
@ -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
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
||||||
|
|
@ -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、旧笔记本电脑......)
|
🚀 与任何主要消费类硬件兼容(x86、Raspberry Pi、旧笔记本电脑......)
|
||||||
|
|
||||||
|
## 安装说明
|
||||||
|
|
||||||
|
> 不支持从 1.0.0 之前的版本直接升级至 1.0.0 及以上版本
|
||||||
|
|
||||||
|
### 快捷密钥生成
|
||||||
|
|
||||||
|
```bash
|
||||||
|
openssl rand -hex 32
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||

|

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