Add update script
This commit is contained in:
parent
b7c91e75ee
commit
7f59119ef9
@ -2,7 +2,7 @@
|
||||
|
||||
echo FreeDMR Docker installer...
|
||||
|
||||
echo Installing require packages...
|
||||
echo Installing required packages...
|
||||
apt-get install docker.io &&
|
||||
apt-get install conntrack &&
|
||||
|
||||
|
9
docker-configs/update_freedmr.sh
Executable file
9
docker-configs/update_freedmr.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker pull hacknix/freedmr:latest &&
|
||||
docker container rm freedmr --force &&
|
||||
docker run --name=freedmr -d --read-only -v /etc/freedmr/freedmr.cfg:/opt/freedmr/freedmr.cfg \
|
||||
-v /var/log/freedmr/freedmr.log:/opt/freedmr/freedmr.log \
|
||||
-v /etc/freedmr/rules.py:/opt/freedmr/rules.py -p 62031:62031/udp -p 62036-62046:62036-62046/udp \
|
||||
-p 4321:4321/tcp hacknix/freedmr:latest
|
||||
conntrack -F
|
Loading…
Reference in New Issue
Block a user