WatchYourLAN Docker Guide

How to check devices connected at home?

One recurrent topic that has to be addressed in the first place is to setup docker in our machine.

For that, you can check this guide or if you want to have a general introduction on how to use adapt configuration files you can check this guide.

Watch your LAN - Docker container:

You can find the project details at aceberg’s Github (great job!)

The configuration file that we will use today is:

Deploy with CLI

Providing that the previous steps are clear, we can jump to our terminal and use:

sudo nano docker-compose.yml

This will open a text editor, where we can paste the following configuration file:

To save, use CTRL+O, then CTRL+X to exit.

Then just deploy the service with:

sudo docker-compose up -d

You are ready to discover the devices in your LAN, the service will be running in or localhost:8840 if you use the configuration file as it is provided.

version: "3"
    image: aceberg/watchyourlan
    container_name: watchyourlan	
    network_mode: "host"        
    - /home/your_user/Docker/watchyourlan/wyl:/data
      TZ: Europe/Paris              # required: needs your TZ for correct time
      IFACE: "eth0"                     # required: 1 or more interface, use the command 'ip link conf' and use the second entry
      DBPATH: "/data/db.sqlite"         # optional, default: /data/db.sqlite
      GUIIP: ""                  # optional, default: localhost
      GUIPORT: "8840"                   # optional, default: 8840
      TIMEOUT: "120"                    # optional, time in seconds, default: 60
      SHOUTRRR_URL: ""                  # optional, set url to notify
      THEME: "darkly"                   # optional
    networks: #optional
      nginx_nginx_network: #optional      
    restart: unless-stopped

networks: #optional
  nginx_nginx_network: #optional
    external: true      #optional


How to Deploy Nginx Proxy Manager

If you are interested in deploying a separated NGINX instance with Docker, I already created a guide for that here.

Check similar services

Interested to discover similar services that you can self-host with Docker? - Check this out: