kubernetes-guide/content/cases/home-network/alist.md

38 lines
846 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 网盘挂载工具alist
## 为什么需要 alist
网上有海量的视频资源都通过网盘共享,我们可以转存到自己网盘,然后再通过 alist 挂载到路由器,直接在线观看网盘里的视频,如果网盘限速或宽带不够,也可以结合 aria2 将网盘里的文件离线下载到路由器本地。
## 开源项目
alist 的项目地址https://github.com/alist-org/alist
## 目录结构
```txt
alist
├── daemonset.yaml
└── kustomization.yaml
```
## 准备 daemonset.yaml
<FileBlock showLineNumbers title="daemonset.yaml" file="home-network/alist.yaml" />
## 准备 kustomization.yaml
```txt
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- daemonset.yaml
namespace: default
```
## 访问 Alist
访问入口http://<路由器内网 IP>:5244/