Merge 508a698b7c into bf075aabc2
This commit is contained in:
commit
aa5f4d4d85
2 changed files with 7 additions and 3 deletions
|
|
@ -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"
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue