Skip to content

Commit

Permalink
readme, v3.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
trueai-org committed Jun 18, 2024
1 parent c176574 commit a657476
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,29 @@

### 快速启动

> docker 版本(近期 docker 国内无法使用,可以使用 https://docker.m.daocloud.io 加速)
> Docker 版本(近期 docker hub 国内无法使用,可以使用 https://docker.m.daocloud.io 加速,或使用阿里云镜像
```bash
# 阿里云镜像(国内专用)
docker pull registry.cn-guangzhou.aliyuncs.com/trueai-org/mdrive
docker run --name mdrive -d --restart=always \
-e BASIC_AUTH_USER=admin -e BASIC_AUTH_PASSWORD=123456 \
-p 8080:8080 --user root registry.cn-guangzhou.aliyuncs.com/trueai-org/mdrive

# Docker Hub 镜像
docker pull trueaiorg/mdrive
docker run --name mdrive -d --restart=always \
-e BASIC_AUTH_USER=admin -e BASIC_AUTH_PASSWORD=123456 \
-p 8080:8080 --user root trueaiorg/mdrive

# or ghcr.io
# GitHub 镜像
docker pull ghcr.io/trueai-org/mdrive
docker run --name mdrive -d --restart=always \
-e BASIC_AUTH_USER=admin -e BASIC_AUTH_PASSWORD=123456 \
-p 8080:8080 --user root ghcr.io/trueai-org/mdrive
```

> windows 版本
> Windows 版本
```bash
a. 通过 https://github.com/trueai-org/mdrive/releases 下载 windows 最新免安装版,例如:MDrvie-SelfContained-x64.zip
Expand Down
2 changes: 1 addition & 1 deletion src/MDriveSync.Core/Services/LocalStorageJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ private void Initialize()
// 处理 TargetRootPath
if (IsLinux() && (_jobConfig.Target?.StartsWith("/") ?? false))
{
_targetSaveRootPath = "/" + _targetSaveRootPath.TrimPath(); ;
_targetSaveRootPath = "/" + _jobConfig.Target.TrimPath();
}
else
{
Expand Down

0 comments on commit a657476

Please sign in to comment.