Skip to content

Commit f21a746

Browse files
committed
Format README
1 parent b83091a commit f21a746

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ mosquitto:
166166
networks:
167167
- default
168168
expose:
169-
- "1883"
170-
- "9001"
169+
- '1883'
170+
- '9001'
171171
ports:
172-
- "1883:1883"
173-
- "9001:9001"
172+
- '1883:1883'
173+
- '9001:9001'
174174
volumes:
175175
- ./mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
176176
```
@@ -194,17 +194,17 @@ tutorial:
194194
networks:
195195
- default
196196
expose:
197-
- "3000"
198-
- "3001"
197+
- '3000'
198+
- '3001'
199199
ports:
200-
- "3000:3000"
201-
- "3001:3001"
200+
- '3000:3000'
201+
- '3001:3001'
202202
environment:
203-
- "DEBUG=tutorial:*"
204-
- "WEB_APP_PORT=3000"
205-
- "DUMMY_DEVICES_PORT=3001"
206-
- "DUMMY_DEVICES_API_KEY=4jggokgpepnvsb2uv4s40d59ov"
207-
- "DUMMY_DEVICES_TRANSPORT=MQTT"
203+
- 'DEBUG=tutorial:*'
204+
- 'WEB_APP_PORT=3000'
205+
- 'DUMMY_DEVICES_PORT=3001'
206+
- 'DUMMY_DEVICES_API_KEY=4jggokgpepnvsb2uv4s40d59ov'
207+
- 'DUMMY_DEVICES_TRANSPORT=MQTT'
208208
```
209209

210210
The `tutorial` container is listening on two ports:
@@ -241,9 +241,9 @@ iot-agent:
241241
networks:
242242
- default
243243
expose:
244-
- "4041"
244+
- '4041'
245245
ports:
246-
- "4041:4041"
246+
- '4041:4041'
247247
environment:
248248
- IOTA_CB_HOST=orion
249249
- IOTA_CB_PORT=1026
@@ -371,7 +371,6 @@ Similarly an actuator must subscribe to a single topic to receive events which e
371371
southbound. To check that the lines of communication are open, we can subscribe to a given topic, and see that we are
372372
able to receive something when a message is published.
373373

374-
375374
Open a **new terminal**, and create a new running `mqtt-subscriber` Docker container as follows:
376375

377376
```console
@@ -381,7 +380,8 @@ docker run -it --rm --name mqtt-subscriber \
381380

382381
The terminal will then be ready to receive events
383382

384-
> **Note:** There is no change on whilst running this command. The on screen output will only respond once you have completed the next step.
383+
> **Note:** There is no change on whilst running this command. The on screen output will only respond once you have
384+
> completed the next step.
385385

386386
### Start an MQTT Publisher (:two:nd Terminal)
387387

0 commit comments

Comments
 (0)