mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2024-06-26 00:59:07 +02:00
Merge pull request #159 from diginc/dev
Release updated dev version to master
This commit is contained in:
commit
e037ca86af
|
@ -118,6 +118,17 @@ setup_dnsmasq_hostnames() {
|
|||
fi
|
||||
}
|
||||
|
||||
setup_lighttpd_bind() {
|
||||
if [[ "$IMAGE" == 'debian' ]] ; then
|
||||
# if using '--net=host' only bind lighttpd on $ServerIP
|
||||
if grep -q "docker" /proc/net/dev ; then #docker (docker0 by default) should only be present on the host system
|
||||
if ! grep -q "server.bind" /etc/lighttpd/lighttpd.conf ; then # if the declaration is already there, don't add it again
|
||||
sed -i -E "s/server\.port\s+\=\s+80/server.bind\t\t = \"${ServerIP}\"\nserver.port\t\t = 80/" /etc/lighttpd/lighttpd.conf
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
setup_php_env() {
|
||||
case $IMAGE in
|
||||
"debian") setup_php_env_debian ;;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/bash -ex
|
||||
mkdir -p /etc/pihole/
|
||||
export CORE_TAG='v3.1'
|
||||
export CORE_TAG='v3.1.4'
|
||||
export WEB_TAG='v3.1'
|
||||
export FTL_TAG='v2.9.4'
|
||||
export FTL_TAG='v2.10'
|
||||
|
||||
# Make pihole scripts fail searching for `systemctl`,
|
||||
# which fails pretty miserably in docker compared to `service`
|
||||
|
|
Loading…
Reference in New Issue
Block a user