fixed isssues in README

pull/119/head
13621160019@163.com 2022-01-28 18:26:03 +08:00
parent 35cad1a811
commit 6026fc3d8c
1 changed files with 2 additions and 2 deletions

4
admin/README.md vendored
View File

@ -30,12 +30,12 @@ cd myems/admin
docker build -t myems/myems-admin . docker build -t myems/myems-admin .
``` ```
* Run a Docker container * Run a Docker container
If run on Windows host, bind-mount a share upload file folder at c:\upload to the container If run on Windows host, bind-mount a share upload file folder at c:\myems-upload to the container
-v parameter must be same with that in myems-api -v parameter must be same with that in myems-api
```bash ```bash
docker run -d -p 8001:8001 -v c:\myems-upload:/var/www/html/admin/upload --restart always --name myems-admin myems/myems-admin docker run -d -p 8001:8001 -v c:\myems-upload:/var/www/html/admin/upload --restart always --name myems-admin myems/myems-admin
``` ```
If run on Linux host, bind-mount a share upload file folder at /upload to the container If run on Linux host, bind-mount a share upload file folder at /myems-upload to the container
```bash ```bash
docker run -d -p 8001:8001 -v /myems-upload:/var/www/html/admin/upload --restart always --name myems-admin myems/myems-admin docker run -d -p 8001:8001 -v /myems-upload:/var/www/html/admin/upload --restart always --name myems-admin myems/myems-admin
``` ```