chore(readme): update docker run command with predefined accounts
This commit is contained in:
parent
012df60679
commit
eb3924e0c5
2 changed files with 5 additions and 2 deletions
|
@ -60,6 +60,7 @@ 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 \
|
||||
|
@ -68,7 +69,8 @@ hexxa/quickshare
|
|||
|
||||
- `DEFAULTADMIN` is the default user name
|
||||
- `DEFAULTADMINPWD` is the default user password
|
||||
- `/quickshare/root` is where Quickshare stores files and directories.
|
||||
- `/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
|
||||
|
||||
### Run from source code
|
||||
|
||||
|
|
|
@ -67,7 +67,8 @@ hexxa/quickshare
|
|||
|
||||
- `DEFAULTADMIN` 是默认的用户名
|
||||
- `DEFAULTADMINPWD` 是默认的用户密码
|
||||
- `/quickshare/root` 是 Quickshare 保存文件和目录的地方.
|
||||
- `/quickshare/root` 是 Quickshare 保存文件和目录的地方
|
||||
- `-u 8686:8686` 指定了用户(uid=8686)和组(gid=8686)来启动Quickshare,它们已经在镜像中被预定义
|
||||
|
||||
### 运行源代码
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue