@@ -148,11 +148,11 @@ To run edge-IoT simulator with docker, do the follpwing:
...
@@ -148,11 +148,11 @@ To run edge-IoT simulator with docker, do the follpwing:
* Change to the root directory of this repository
* Change to the root directory of this repository
* Build the image: `docker build -t edge-iot-simulator:1.0 .`
* Build the image: `docker build -t edge-iot-simulator:1.0 .`
* Change the working directory to the directory: `cd edge_iot_simulator`
* Change the working directory to the directory: `cd edge_iot_simulator`
* Create and adjust the `.env` file! **Make sure that you take the right IP address for the message broker. If you are running the mqtt broker on the same system (physical host), obtain the broker's ip address via `docker inspect`**.
* Create and adjust the `.env` file! **Make sure that you take the right IP address for the message broker. If you are running the mqtt broker on the same system (physical host), obtain the broker's ip address via `docker inspect`**.
* Run the image: `docker run -p 5000:5000 --env-file=.env edge-iot-simulator:1.0`, choose `docker run -d -p 5000:5000 --env-file=.env edge-iot-simulator:1.0`
* Run the image: `docker run -p 5000:5000 --env-file=.env edge-iot-simulator:1.0`, choose `docker run -d -p 5000:5000 --env-file=.env edge-iot-simulator:1.0`