chore(readme): update docker script and link to the doc

This commit is contained in:
hexxa 2022-02-09 21:04:28 +08:00 committed by Hexxa
parent 33a269d220
commit c66f65ab44
2 changed files with 2 additions and 3 deletions

View file

@ -60,7 +60,6 @@ Then you can open `http://127.0.0.1:8686` and log in with user name `qs` and pas
docker run \
--name quickshare \
-d -p 8686:8686 \
-u 8686:8686 \
-v `pwd`/quickshare/root:/quickshare/root \
-e DEFAULTADMIN=qs \
-e DEFAULTADMINPWD=1234 \
@ -70,7 +69,7 @@ hexxa/quickshare
- `DEFAULTADMIN` is the default user name
- `DEFAULTADMINPWD` is the default user password
- `/quickshare/root` is where the Quickshare stores files and directories.
- `-u 8686:8686` is specifying the user(uid=8686) and the group(gid=8686) to start the Quickshare, which are predefined in the image
- Please refer to [this doc](./docs/doc.md) if you want to manage files and folders from OS.
### Run from source code

View file

@ -68,7 +68,7 @@ hexxa/quickshare
- `DEFAULTADMIN` 是默认的用户名
- `DEFAULTADMINPWD` 是默认的用户密码
- `/quickshare/root` 是 Quickshare 保存文件和目录的地方
- `-u 8686:8686` 指定了用户(uid=8686)和组(gid=8686)来启动Quickshare它们已经在镜像中被预定义
- 如果你想同时在操作系统管理文件和文件夹,请参考 [这个文档](./docs/doc.md)
### 运行源代码