Update README.md
This commit is contained in:
@@ -136,21 +136,21 @@ Push to registry
|
|||||||
docker push 192.168.1.193:5000/plantpal-client
|
docker push 192.168.1.193:5000/plantpal-client
|
||||||
```
|
```
|
||||||
|
|
||||||
### Running Docker Images:
|
## Running Docker Images:
|
||||||
|
|
||||||
|
### Create Docker Network
|
||||||
Create new docker network for the containers to communicate
|
Create new docker network for the containers to communicate
|
||||||
```sh
|
```sh
|
||||||
docker network create soilmoisture_network
|
docker network create soilmoisture_network
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run API image
|
### Run API Image
|
||||||
|
|
||||||
Run API
|
|
||||||
```sh
|
```sh
|
||||||
docker run -d --name plantpal_api --network soilmoisture_network -p 8000:80 plantpal_api:latest
|
docker run -d --name plantpal_api --network soilmoisture_network -p 8000:80 plantpal_api:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
Run client image
|
### Run Client Image
|
||||||
```sh
|
```sh
|
||||||
docker run -d --name plantpal_client --network plantpal_network -p 3000:80 plantpal_client:latest
|
docker run -d --name plantpal_client --network plantpal_network -p 3000:80 plantpal_client:latest
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user