It is super simple Python (FastAPI) server that sends magic packets to wake up another machine. Docker container is based on python-alpine base image and rely on awake linux script.
docker run -p 8080:8080 daamian3/wake-on-lan:latest
It will run on port 8080.
Example body:
{
"mac": "02:42:5b:3a:a8:9a"
}
Example response:
{
"status": "OK"
}
docker run --rm daamian3/wake-on-lan:latest python -m unittest
MIT