提交合并

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
2024-07-17 16:30:13 +08:00
committed by qyg2297248353
commit 6c18fe434d
449 changed files with 21391 additions and 0 deletions
+74
View File
@@ -0,0 +1,74 @@
additionalProperties:
formFields:
- default: "/home/alist"
edit: true
envKey: ALIST_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
+28
View File
@@ -0,0 +1,28 @@
version: "3.8"
networks:
1panel-network:
external: true
services:
alist:
image: xhofe/alist:v3.35.0
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:5244
env_file:
- /etc/1panel/envs/global.env
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${ALIST_ROOT_PATH}/data:/opt/alist/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
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+10
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
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+82
View File
@@ -0,0 +1,82 @@
# AList
一个支持多种存储的文件列表程序
![AList](https://file.lifebus.top/imgs/alist_cover.png)
## 特性
+ 使用简单
+ AList 从一开始就设计为易于安装,并且可以在所有平台上使用。
+ 多种存储
+ AList 支持多个存储提供商,包括本地存储、阿里云盘、OneDrive、Google Drive 等,且易于拓展。
+ 支持 WebDAV
+ AList 支持所有 WebDAV 存储,这是一种用于访问文件的标准。
+ 黑暗模式
+ 自由切换明暗模式
+ 受保护的路由
+ 为特定路径添加密码保护和身份验证
+ 文件预览
+ 支持视频、音频、文档、PDF、图片预览等,甚至支持 ipa 安装
+ 打包下载/批量下载
+ 使用浏览器的 stream api 支持打包下载,无需使用服务器 / 使用Aria2进行批量下载支持文件夹
+ 单点登录
+ 使用单点登录快速登录AList
+ 自动注册AList帐号
+ 使用单点登录自动注册为AList帐号快速注册
+ 离线下载
+ 将种子内容离线下载到指定的目录內,需要苛刻的网络环境
+ 保险箱加密/解密 文件
+ 任何人都可以安全地将加密数据存储在远程存储提供商上。数据存储在保险箱中,提供商只能看到保险箱,看不到您的数据。
+ 更多新功能
+ 包括文本编辑器、README/HTML 渲染、文件永久链接、Cloudflare Workers 代理等
## 安装说明
> 默认用户名:`admin`
>
> 默认密码:首次启动,可通过日志查询,或重置密码
### 重置密码
+ 随机生成一个密码
```shell
alist admin random
```
+ 设置指定密码
```shell
alist admin set {PASSWORD}
```
### 反向代理
> Nginx 配置示例
```conf
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
proxy_redirect off;
proxy_pass http://127.0.0.1:5244;
# 文件最大上传大小 20GB
client_max_body_size 20000m;
}
```
+18
View File
@@ -0,0 +1,18 @@
name: Alist
title: 文件列表程序
description: 一个支持多种存储的文件列表程序
additionalProperties:
key: alist
name: Alist
tags:
- WebSite
- Storage
- Local
shortDescZh: 一个支持多种存储的文件列表程序
shortDescEn: A file list program that supports multiple storage methods
type: website
crossVersionUpdate: true
limit: 0
website: https://alist.nn.ci/
github: https://github.com/alist-org/alist/
document: https://alist.nn.ci/guide/
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB