Skip to content

Commit 60a0e0f

Browse files
committed
change bash codefence to console
Signed-off-by: Phill Kelley <[email protected]>
1 parent dd1b462 commit 60a0e0f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/Containers/Home-Assistant.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The active image is *generic* in the sense that it should work on any platform.
5656

5757
The normal IOTstack commands apply to Home Assistant Container such as:
5858

59-
```bash
59+
```console
6060
$ cd ~/IOTstack
6161
$ docker-compose up -d
6262
```
@@ -127,7 +127,7 @@ your RPi hostname is raspberrypi)
127127

128128
5. Start the swag container, this creates the file to be edited in the next step:
129129

130-
```bash
130+
```console
131131
$ cd ~/IOTstack
132132
$ docker-compose up -d
133133
```
@@ -136,7 +136,7 @@ your RPi hostname is raspberrypi)
136136

137137
6. Enable reverse proxy for `raspberrypi.local`. `homassistant.*` is already by default. and fix homeassistant container name ("upstream_app"):
138138

139-
```bash
139+
```console
140140
$ cd ~/IOTstack
141141
$ sed -e 's/server_name/server_name *.local/' \
142142
volumes/swag/config/nginx/proxy-confs/homeassistant.subdomain.conf.sample \
@@ -146,7 +146,7 @@ your RPi hostname is raspberrypi)
146146
7. Forward to correct IP when target is a container running in "network_mode:
147147
host" (like Home Assistant does):
148148

149-
```bash
149+
```console
150150
cd ~/IOTstack
151151
cat << 'EOF' | sudo tee volumes/swag/config/custom-cont-init.d/add-host.docker.internal.sh
152152
#!/bin/sh
@@ -164,7 +164,7 @@ your RPi hostname is raspberrypi)
164164
8. (optional) Add reverse proxy password protection if you don't want to rely
165165
on the HA login for security, doesn't affect API-access:
166166

167-
```bash
167+
```console
168168
$ cd ~/IOTstack
169169
$ sed -i -e 's/#auth_basic/auth_basic/' \
170170
volumes/swag/config/nginx/proxy-confs/homeassistant.subdomain.conf
@@ -198,7 +198,7 @@ your RPi hostname is raspberrypi)
198198

199199
Or from the command line in the RPi:
200200

201-
```bash
201+
```console
202202
$ curl --resolve homeassistant.<yourdomain>.duckdns.org:443:127.0.0.1 \
203203
https://homeassistant.<yourdomain>.duckdns.org/
204204
```

0 commit comments

Comments
 (0)