From b4427f2140a76a717db4ef86b8e366e7d9fecda9 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Thu, 23 Nov 2023 23:04:26 +0100 Subject: [PATCH] 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. --- .gitea/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 7eb2a72..84f032d 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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