Skip to content

Commit 0c23525

Browse files
committed
change bash codefence to console, other opportunistic fences
Signed-off-by: Phill Kelley <[email protected]>
1 parent 4bb521b commit 0c23525

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/Containers/Blynk_server.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ When you select Blynk Server in the IOTstack menu, the *template service definit
7272

7373
On a first install of IOTstack, you run the menu, choose your containers, and are told to do this:
7474

75-
```bash
75+
```console
7676
$ cd ~/IOTstack
7777
$ docker-compose up -d
7878
```
7979

8080
`docker-compose` reads the *Compose* file. When it arrives at the `blynk_server` fragment, it finds:
8181

82-
```
82+
```yaml
8383
blynk_server:
8484
build:
8585
context: ./.templates/blynk_server/.
@@ -99,7 +99,7 @@ The `BLYNK_SERVER_VERSION` argument is passed into the build process. This impli
9999
100100
The *Dockerfile* begins with:
101101
102-
```
102+
```Dockerfile
103103
FROM ubuntu
104104
```
105105

@@ -117,7 +117,7 @@ The ***local image*** is instantiated to become your running container.
117117

118118
When you run the `docker images` command after Blynk Server has been built, you *may* see two rows that are relevant:
119119

120-
```bash
120+
```console
121121
$ docker images
122122
REPOSITORY TAG IMAGE ID CREATED SIZE
123123
iotstack_blynk_server latest 3cd6445f8a7e 3 hours ago 652MB
@@ -135,7 +135,7 @@ You *may* see the same pattern in *Portainer*, which reports the ***base image**
135135

136136
You can inspect Blynk Server's log by:
137137

138-
```
138+
```console
139139
$ docker logs blynk_server
140140
```
141141

@@ -153,7 +153,7 @@ The first time you launch the `blynk_server` container, the following structure
153153

154154
The two `.properties` files can be used to alter Blynk Server's configuration. When you make change to these files, you activate then by restarting the container:
155155

156-
```
156+
```console
157157
$ cd ~/IOTstack
158158
$ docker-compose restart blynk_server
159159
```
@@ -162,7 +162,7 @@ $ docker-compose restart blynk_server
162162

163163
Erasing Blynk Server's persistent storage area triggers self-healing and restores known defaults:
164164

165-
```
165+
```console
166166
$ cd ~/IOTstack
167167
$ docker-compose rm --force --stop -v blynk_server
168168
$ sudo rm -rf ./volumes/blynk_server
@@ -172,7 +172,7 @@ Note:
172172

173173
* You can also remove individual configuration files and then trigger self-healing. For example, if you decide to edit `server.properties` and make a mess, you can restore the original default version like this:
174174

175-
```
175+
```console
176176
$ cd ~/IOTstack
177177
$ rm volumes/blynk_server/config/server.properties
178178
$ docker-compose restart blynk_server
@@ -186,7 +186,7 @@ At the time of writing, version 0.41.16 was the most up-to-date. Suppose that ve
186186

187187
1. Edit your *Compose* file to change the version nuumber:
188188

189-
```
189+
```yaml
190190
blynk_server:
191191
build:
192192
context: ./.templates/blynk_server/.
@@ -202,15 +202,15 @@ At the time of writing, version 0.41.16 was the most up-to-date. Suppose that ve
202202

203203
- If you only want to reconstruct the **local** image:
204204

205-
```
205+
```console
206206
$ cd ~/IOTstack
207207
$ docker-compose up --build -d blynk_server
208208
$ docker system prune -f
209209
```
210210

211211
- If you want to update the Ubuntu **base** image at the same time:
212212

213-
```
213+
```console
214214
$ cd ~/IOTstack
215215
$ docker-compose build --no-cache --pull blynk_server
216216
$ docker-compose up -d blynk_server
@@ -243,7 +243,7 @@ You may encounter browser security warnings which you will have to acknowledge i
243243
2. Save changes.
244244
3. Restart the container using either Portainer or the command line:
245245

246-
```
246+
```console
247247
$ cd ~/IOTstack
248248
$ docker-compose restart blynk_server
249249
```

0 commit comments

Comments
 (0)