发布 OpenList

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
Meng Sen
2025-06-24 10:47:53 +08:00
parent 0c4f5fa67b
commit 92fcca29ce
12 changed files with 175 additions and 6 deletions

74
apps/alist/4.0.2/data.yml Normal file
View File

@@ -0,0 +1,74 @@
additionalProperties:
formFields:
- default: "/home/openlist"
edit: true
envKey: OPENLIST_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 5244
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: JWT_SECRET
labelZh: 加密密钥
labelEn: Encryption key
required: false
type: password
- default: ""
edit: true
envKey: SITE_URL
labelZh: 站点 URL
labelEn: Site URL
required: false
rule: paramExtUrl
type: text
- default: 48
edit: true
envKey: TOKEN_EXPIRES_IN
labelZh: 登录过期时间 (小时)
labelEn: Login expiration time (hours)
required: true
type: number
- default: 0
edit: true
envKey: DELAYED_START
labelZh: 延时启动 (秒)
labelEn: Delayed start (seconds)
required: true
type: number
- default: 0
edit: true
envKey: max_connections
labelZh: 最大连接数
labelEn: Maximum connections
required: true
type: number
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_1
labelEn: Custom mount directory 1
labelZh: 自定义挂载目录 1
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_2
labelEn: Custom mount directory 2
labelZh: 自定义挂载目录 2
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_3
labelEn: Custom mount directory 3
labelZh: 自定义挂载目录 3
required: false
type: text

View File

@@ -0,0 +1,27 @@
networks:
1panel-network:
external: true
services:
openlist:
image: openlistteam/openlist:v4.0.2
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:5244
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${OPENLIST_ROOT_PATH}/data:/opt/openlist/data
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
environment:
- PUID=0
- PGID=0
- UMASK=022
- FORCE=false

View File

@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View 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

View File

@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View 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

View File

@@ -1,4 +1,4 @@
# AList
# OpenList (AList)
一个支持多种存储的文件列表程序
@@ -16,6 +16,12 @@
</div>
</div>
## 版本说明
- `3.40.0` 源作者版 (已下线)
- `3.45.0` 被修改版 (已下线)
- `3.46.0` OpenList 社区版 (迁移版)
## 特性
+ 使用简单
@@ -62,6 +68,8 @@
### 重置密码
`4.0` 及以上请使用 `openlist` 替换 `alist`
+ 随机生成一个密码
```shell

View File

@@ -1,6 +1,6 @@
additionalProperties:
key: alist
name: Alist
name: OpenList (Alist)
tags:
- WebSite
- Storage
@@ -8,8 +8,8 @@
shortDescZh: 一个支持多种存储的文件列表程序
shortDescEn: A file list program that supports multiple storage methods
type: website
crossVersionUpdate: true
crossVersionUpdate: false
limit: 0
website: https://alist.nn.ci/
github: https://github.com/alist-org/alist/
document: https://alist.nn.ci/guide/
website: https://docs.oplist.org/
github: https://github.com/OpenListTeam/OpenList
document: https://docs.oplist.org/

BIN
apps/alist/logo-old.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 20 KiB

12
apps/alist/logo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.2 KiB