Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update watch-your-lan to version 2.0.0 #1424

Merged
merged 4 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
20 changes: 10 additions & 10 deletions watch-your-lan/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
version: "3.7"

Check notice on line 1 in watch-your-lan/docker-compose.yml

View workflow job for this annotation

GitHub Actions / Lint apps

Potentially using unsafe user in service "web"

The default container user "root" can lead to security vulnerabilities. If you are using the root user, please try to specify a different user (e.g. "1000:1000") in the compose file or try to set the UID/PUID and GID/PGID environment variables to 1000.

services:
web:
image: aceberg/watchyourlan:1.0.6@sha256:c42ce1dcb1af6dac44d3674f24511558cf89b99982cee8843016fd8ad3935871
image: aceberg/watchyourlan:2.0.0@sha256:c1bc72021443ddbea860b78ffeb871ab9a3edec1b15e35413c84470eee5456f3
network_mode: "host"

Check notice on line 6 in watch-your-lan/docker-compose.yml

View workflow job for this annotation

GitHub Actions / Lint apps

Service "web" uses host network mode

The host network mode can lead to security vulnerabilities. If possible please use the default bridge network mode and expose the necessary ports.
restart: on-failure
stop_grace_period: 1m
init: true
environment:
TZ: "UTC"
IFACE: "eth0 wlan0 enp1s0" # required: 1 or more interface
DBPATH: "/data/db.sqlite" # optional, default: /data/db.sqlite
GUIIP: "0.0.0.0" # optional, default: localhost
GUIPORT: "8840" # optional, default: 8840
TIMEOUT: "120" # optional, time in seconds, default: 60
THEME: "darkly" # optional
IGNOREIP: "no" # optional
TZ: "UTC" # required: needs your TZ for correct time
IFACES: "eth0 wlan0 enp1s0" # required: 1 or more interface
HOST: "0.0.0.0" # optional, default: 0.0.0.0
PORT: "8840" # optional, default: 8840
# Exclude to allow custom config:
# TIMEOUT: "120" # optional, time in seconds, default: 120
# THEME: "sand" # optional
# COLOR: "dark" # optional
volumes:
- ${APP_DATA_DIR}/data:/data
- ${APP_DATA_DIR}/data:/data/WatchYourLAN
20 changes: 17 additions & 3 deletions watch-your-lan/umbrel-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,26 @@ id: watch-your-lan
name: WatchYourLAN
tagline: Lightweight network IP scanner
category: networking
version: "1.0.6"
version: "2.0.0"
port: 8840
description: >-
WatchYourLAN is a lightweight network IP scanner. It allows you to keep track of all devices that are connected to your local network.

releaseNotes: ""
releaseNotes: >-
🚨 WatchYourLAN 2.0 is a complete rewrite and is not compatible with v1.0. When you upgrade, any custom configuration from v1.0 will be lost.


Key highlights in this release include:
- Added API
- Added arguments for arp-scan option
- Added InfluxDB export
- Added PostgreSQL or SQLite DB options
- Added names from DNS
- Improved UI with JavaScript
- Switched to gin web framework
- Reworked DB schema and config variables

Full release notes can be found at https://github.com/aceberg/WatchYourLAN/releases
developer: aceberg
website: https://github.com/aceberg/WatchYourLAN
submitter: Jasper
Expand All @@ -22,4 +36,4 @@ gallery:
dependencies: []
path: ""
defaultUsername: ""
defaultPassword: ""
defaultPassword: ""