A simple http interface to send wake on LAN commands.
Just send a
GETto/FF:FF:FF:FF:FF:FFPOSTto/FF:FF:FF:FF:FF:FFGETto/wol/FF:FF:FF:FF:FF:FFPOSTto/wol/FF:FF:FF:FF:FF:FF
where FF:FF:FF:FF:FF:FF is the desired MAC address of the device to be woken up.
pip install wol_api
wol_api --port=8080
docker run -d \
--name="WakeOnLAN-API" \
-e PORT=8080 \
--network host \
rix1337/docker-wol-api:latest
The desired port is set by environment variable PORT for a reason!
You must use --network host, else the magic packets will not be sent to the correct network.