Fix: Wake On LAN is not working

The docker container needs to be created with the network option set to
one of the networks otherwise it will not work.
This commit is contained in:
Dreaded_X 2023-11-23 23:04:26 +01:00
parent 234e891418
commit b4427f2140
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -87,13 +87,13 @@ jobs:
--pull always \
--restart unless-stopped \
--name automation_rs \
--network mqtt
-e RUST_LOG=automation=debug \
-e MQTT_PASSWORD=${{ secrets.MQTT_PASSWORD }} \
-e HUE_TOKEN=${{ secrets.HUE_TOKEN }} \
-e NTFY_TOPIC=${{ secrets.NTFY_TOPIC }} \
git.huizinga.dev/dreaded_x/automation_rs:latest
docker network connect mqtt automation_rs
docker network connect web automation_rs
- name: Start container