Awesome Wake On Lan docker container

I have a windows machine that I keep powered down most of the time, but its got wake on lan enabled in bios. until today I have always logged into my router interface remotely to wake the pc, but I have found this awesome container that makes things so much easier and prettier.
https://github.com/Misterbabou/gptwol
GPTWOL gives a nice pretty web ui, it checks whether a device is on every 30 seconds, and lets you send WOL packets really easily.

I recommend installing it as a custom app on your truenas instance!

Hi!
I’m currently trying to install that too, how exactly did you manage to get it running? I somehow can’t access the Web UI at port 5000…

assuming you have Apps dataset:
with shell:

mkdir -p /mnt/poolname/Apps/gptwol/appdata/db
mkdir -p /mnt/poolname/Apps/gptwol/appdata/cron
chmod -R 777 /mnt/poolname/Apps/gptwol/appdata

/mnt/poolname/Apps/gptwol/docker-compose.yml

version: “3.8”

services:
gptwol:
container_name: gptwol
image: misterbabou/gptwol:latest
network_mode: host # Important: allows broadcast WOL packets
restart: unless-stopped
environment:

  • TZ=Asia/Kolkata # Set to your timezone
  • ENABLE_ADD_DEL=true # Allow adding PCs
  • ENABLE_REFRESH=true # Auto-refresh statuses
  • REFRESH_INTERVAL=30

Optional login (uncomment if you want auth)

- ENABLE_LOGIN=true

- USERNAME=admin

- PASSWORD=yourpassword

volumes:

  • /mnt/poolname/Apps/gptwol/appdata/db:/app/db
  • /mnt/poolname/Apps/gptwol/appdata/cron:/etc/cron.d

then in apps install via YML
use custom config
include:

  • /mnt/poolname/Apps/gptwol/docker-compose.yml

I apologize for the slow reply, You do not need to use the shell or fiddle with docker compose files, you can make it using the custom app ui

Nice, but a whole container for what you can easily do in the command line?

But, if it is really FULL featured (network scan/self learning, history, scheduling, monitoring, alerts).

I would check it out.

I did, almost everything but reports/alerts, will still check it out to see if it can do more than my 6 y/o script/solution.

Sounds like you are skilled enough for a custom script :wink:

I’m not, most aren’t, but custom is probably better! It’s tailor made for sure.