Skip to content

damianchojnacki/wake-on-lan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wake On Lan (WoL) server in Docker

About

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.

Usage

docker run -p 8080:8080 daamian3/wake-on-lan:latest

It will run on port 8080.

Endpoints

Wake on Lan - POST /

Example body:

{
    "mac": "02:42:5b:3a:a8:9a"
}

Health check - GET /

Example response:

{
    "status": "OK"
}

Testing

docker run --rm daamian3/wake-on-lan:latest python -m unittest

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published