docs: update 安装教程

This commit is contained in:
逗猫
2023-05-12 14:46:08 +00:00
committed by jxxghp
parent 6758db470b
commit b3569ee95a

View File

@@ -2,7 +2,7 @@
title: 安装教程
description:
published: 1
date: 2023-05-12T14:44:16.673Z
date: 2023-05-12T14:45:55.305Z
tags:
editor: markdown
dateCreated: 2023-05-12T04:25:24.817Z
@@ -101,7 +101,9 @@ nohup python3 run.py &
# 版本更新
**Docker自动更新**
<br>
## <font color=#1786D0>Docker自动更新</font>
- 正常情况下,如果设置了`NASTOOL_AUTO_UPDATE=true`重启容器即可自动更新NAStool程序。
- 设置了`NASTOOL_AUTO_UPDATE=true`时,如果启动时的日志提醒你 "更新失败,继续使用旧的程序来启动...",请再重启一次,如果一直都报此错误,请改善你的网络。
@@ -114,7 +116,7 @@ nohup python3 run.py &
-e REPO_URL="https://ghproxy.com/https://github.com/NAStool/nas-tools.git"
```
**手动更新**
## <font color=#1786D0>手动更新</font>
- 界面右上角用户图标点击`下拉菜单-> 更新`
- 界面左侧菜单栏底部版本号黄色高亮代表有新版本,`点击红色箭头图标更新`
- 重新拉取镜像,`重置/重建`容器群晖Docker为重置、Portainer为重建正常映射/config目录到宿主机的情况下配置不会丢失。