A few more documentation updates.
This commit is contained in:
parent
38f367b47a
commit
ec15e96dbf
11
README.md
11
README.md
|
@ -82,9 +82,9 @@ Alternatively, on Linux, you can try using the IP `172.17.0.1`.
|
||||||
|
|
||||||
### Home Assistant
|
### Home Assistant
|
||||||
|
|
||||||
If you happen to be using Home Assistant, here's how you might request
|
If you happen to be using Home Assistant in Docker, here's how you might
|
||||||
wake-on-lan of a remote server via wake-on-lan-service. This example is of an
|
request wake-on-lan of a remote server via wake-on-lan-service. This example
|
||||||
automation action in your Home Assistant configuration:
|
is of an automation action in your Home Assistant configuration:
|
||||||
|
|
||||||
```
|
```
|
||||||
automation:
|
automation:
|
||||||
|
@ -94,9 +94,12 @@ automation:
|
||||||
- service: shell_command.wake_my_server
|
- service: shell_command.wake_my_server
|
||||||
|
|
||||||
shell_command:
|
shell_command:
|
||||||
wake_my_server: "echo 00:00:0a:bb:28:fc | nc -N host.docker.internal 18888"
|
wake_my_server: "echo 00:00:0a:bb:28:fc | nc host.docker.internal 18888"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
(Home Assistant's Docker image includes netcat from busybox instead of OpenBSD
|
||||||
|
netcat, so omit the `-N` flag.)
|
||||||
|
|
||||||
|
|
||||||
## Security
|
## Security
|
||||||
|
|
||||||
|
|
2
push.sh
2
push.sh
|
@ -8,5 +8,5 @@ sudo docker buildx build -t $IMAGE:amd64 .
|
||||||
sudo docker push $IMAGE:amd64
|
sudo docker push $IMAGE:amd64
|
||||||
sudo docker buildx build --platform linux/arm/v7 --build-arg IMAGE_PREFIX="arm32v7/" -t $IMAGE:armv7 .
|
sudo docker buildx build --platform linux/arm/v7 --build-arg IMAGE_PREFIX="arm32v7/" -t $IMAGE:armv7 .
|
||||||
sudo docker push $IMAGE:armv7
|
sudo docker push $IMAGE:armv7
|
||||||
sudo docker manifest create $IMAGE:latest $IMAGE:amd64 $IMAGE:armv7
|
sudo docker manifest create --amend $IMAGE:latest $IMAGE:amd64 $IMAGE:armv7
|
||||||
sudo docker manifest push $IMAGE:latest
|
sudo docker manifest push $IMAGE:latest
|
||||||
|
|
Loading…
Reference in New Issue