Migration to newer dockge/compose stack
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
#!/command/with-contenv bash
|
||||
echo "Allow DNS resolution locally"
|
||||
iptables -A INPUT -i eth0 -p udp -m udp --sport 53 -j ACCEPT
|
||||
iptables -A OUTPUT -o eth0 -p udp -m udp --dport 53 -j ACCEPT
|
||||
|
||||
echo "Allow docker networks to connect"
|
||||
docker_cirds=$(ip -o -4 route show proto kernel | awk '{print $1}')
|
||||
for cidr in $docker_cirds; do
|
||||
iptables -A INPUT -s "${cidr}" -d "${cidr}" -j ACCEPT
|
||||
iptables -A OUTPUT -s "${cidr}" -d "${cidr}" -j ACCEPT
|
||||
done
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/command/with-contenv bash
|
||||
|
||||
(crontab -l ; echo "* * * * * run-parts /etc/periodic/1min") | sort - | uniq - | crontab -
|
||||
crond
|
||||
|
||||
Reference in New Issue
Block a user