fixed isssues in README

pull/119/head
13621160019@163.com 2022-01-28 18:23:14 +08:00
parent 5db7e8d4e5
commit 35cad1a811
5 changed files with 6 additions and 6 deletions

4
admin/README.md vendored
View File

@ -33,11 +33,11 @@ docker build -t myems/myems-admin .
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:\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:\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 /upload to the container
```bash ```bash
docker run -d -p 8001:8001 -v /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
``` ```
-d Run container in background and print container ID -d Run container in background and print container ID

View File

@ -62,7 +62,7 @@ docker run -d -v c:\myems-aggregation\.env:/code/.env --restart always --name my
``` ```
On Linux host, bind-mount the .env to the container: On Linux host, bind-mount the .env to the container:
```bash ```bash
docker run -d -p 8000:8000 -v /myems-aggregation/.env:/.env --restart always --name myems-aggregation myems/myems-aggregation docker run -d -v /myems-aggregation/.env:/.env --restart always --name myems-aggregation myems/myems-aggregation
``` ```
* -d Run container in background and print container ID * -d Run container in background and print container ID

View File

@ -61,7 +61,7 @@ docker run -d -v c:\myems-cleaning\.env:/code/.env --restart always --name myems
``` ```
On Linux host, bind-mount the .env to the container: On Linux host, bind-mount the .env to the container:
```bash ```bash
docker run -d -p 8000:8000 -v /myems-cleaning/.env:/.env --restart always --name myems-cleaning myems/myems-cleaning docker run -d -v /myems-cleaning/.env:/.env --restart always --name myems-cleaning myems/myems-cleaning
``` ```
* -d Run container in background and print container ID * -d Run container in background and print container ID

View File

@ -63,7 +63,7 @@ docker run -d -v c:\myems-modbus-tcp\.env:/code/.env --restart always --name mye
``` ```
On Linux host, bind-mount the .env to the container: On Linux host, bind-mount the .env to the container:
```bash ```bash
docker run -d -p 8000:8000 -v /myems-modbus-tcp/.env:/.env --restart always --name myems-modbus-tcp myems/myems-modbus-tcp docker run -d -v /myems-modbus-tcp/.env:/.env --restart always --name myems-modbus-tcp myems/myems-modbus-tcp
``` ```
* -d Run container in background and print container ID * -d Run container in background and print container ID

View File

@ -68,7 +68,7 @@ docker run -d -v c:\myems-normalization\.env:/code/.env --restart always --name
``` ```
On Linux host, bind-mount the .env to the container: On Linux host, bind-mount the .env to the container:
```bash ```bash
docker run -d -p 8000:8000 -v /myems-normalization/.env:/.env --restart always --name myems-normalization myems/myems-normalization docker run -d -v /myems-normalization/.env:/.env --restart always --name myems-normalization myems/myems-normalization
``` ```
* -d Run container in background and print container ID * -d Run container in background and print container ID