From df426136e58e3d2a883a443bf9bfe9fda7c1e99f Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Mon, 23 Mar 2020 09:48:07 -0400 Subject: [PATCH] dnscrypt proxy built by cyber5k --- base.yml | 2 +- scripts/install.sh | 3 +++ scripts/subinstallers/docker.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/base.yml b/base.yml index 65ef787..10f4115 100644 --- a/base.yml +++ b/base.yml @@ -146,7 +146,7 @@ services: dnscrypt-proxy: container_name: mistborn_production_dnscrypt_proxy - image: djaydev/dnscrypt-proxy + image: cyber5k/dnscrypt-proxy:latest environment: - DNSCRYPT_LISTEN_PORT=5054 # resolvers: https://download.dnscrypt.info/dnscrypt-resolvers/v2/public-resolvers.md diff --git a/scripts/install.sh b/scripts/install.sh index 9685623..400711e 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -193,6 +193,9 @@ sudo systemctl disable systemd-resolved 2>/dev/null || true sudo systemctl stop dnsmasq 2>/dev/null || true sudo systemctl disable dnsmasq 2>/dev/null || true +# hostname in /etc/hosts +sudo grep -qF "$(hostname)" /etc/hosts && echo "$(hostname) already in /etc/hosts" || echo "127.0.1.1 $(hostname) $(hostname)" | sudo tee -a /etc/hosts + # resolve all *.mistborn domains echo "address=/.mistborn/$IPV4_PUBLIC" | sudo tee ../mistborn_volumes/base/pihole/etc-dnsmasqd/02-lan.conf diff --git a/scripts/subinstallers/docker.sh b/scripts/subinstallers/docker.sh index 1af2f2c..7c5da2a 100755 --- a/scripts/subinstallers/docker.sh +++ b/scripts/subinstallers/docker.sh @@ -61,7 +61,7 @@ echo "Installing Docker Compose" #elif [ "$DISTRO" == "raspbian" ]; then # Install required packages sudo apt update -sudo apt install -y python python3-pip libffi-dev python-backports.ssl-match-hostname +sudo apt install -y python python3-pip libffi-dev python-backports.ssl-match-hostname python3-dev libssl-dev # Install Docker Compose from pip # This might take a while