This commit is contained in:
jack 2025-03-24 23:22:55 +01:00 committed by GitHub
commit aa5f4d4d85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View file

@ -41,6 +41,7 @@ docker run --name wyl \
-e "IFACES=$YOURIFACE" \ -e "IFACES=$YOURIFACE" \
-e "TZ=$YOURTIMEZONE" \ -e "TZ=$YOURTIMEZONE" \
--network="host" \ --network="host" \
--cap-add=NET_ADMIN --cap-add=NET_RAW \
-v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \ -v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \
aceberg/watchyourlan aceberg/watchyourlan
``` ```
@ -187,6 +188,7 @@ docker run --name wyl \
-e "IFACES=$YOURIFACE" \ -e "IFACES=$YOURIFACE" \
-e "TZ=$YOURTIMEZONE" \ -e "TZ=$YOURTIMEZONE" \
--network="host" \ --network="host" \
--cap-add=NET_ADMIN --cap-add=NET_RAW \
-v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \ -v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \
aceberg/watchyourlan -n "http://$YOUR_IP:8850" aceberg/watchyourlan -n "http://$YOUR_IP:8850"
``` ```

View file

@ -1,8 +1,10 @@
version: "3"
services: services:
wyl: wyl:
image: aceberg/watchyourlan image: aceberg/watchyourlan
network_mode: "host" network_mode: "host"
cap_add:
- NET_ADMIN
- NET_RAW
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ~/.dockerdata/wyl:/data/WatchYourLAN - ~/.dockerdata/wyl:/data/WatchYourLAN