Merge branch '9-dnscrypt' into 'master'
DNScrypt for arm64 and armv7 Closes #9 See merge request cyber5k/mistborn!10
This commit is contained in:
@@ -146,7 +146,7 @@ services:
|
|||||||
|
|
||||||
dnscrypt-proxy:
|
dnscrypt-proxy:
|
||||||
container_name: mistborn_production_dnscrypt_proxy
|
container_name: mistborn_production_dnscrypt_proxy
|
||||||
image: djaydev/dnscrypt-proxy
|
image: cyber5k/dnscrypt-proxy:latest
|
||||||
environment:
|
environment:
|
||||||
- DNSCRYPT_LISTEN_PORT=5054
|
- DNSCRYPT_LISTEN_PORT=5054
|
||||||
# resolvers: https://download.dnscrypt.info/dnscrypt-resolvers/v2/public-resolvers.md
|
# resolvers: https://download.dnscrypt.info/dnscrypt-resolvers/v2/public-resolvers.md
|
||||||
|
|||||||
@@ -193,6 +193,9 @@ sudo systemctl disable systemd-resolved 2>/dev/null || true
|
|||||||
sudo systemctl stop dnsmasq 2>/dev/null || true
|
sudo systemctl stop dnsmasq 2>/dev/null || true
|
||||||
sudo systemctl disable 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
|
# resolve all *.mistborn domains
|
||||||
echo "address=/.mistborn/$IPV4_PUBLIC" | sudo tee ../mistborn_volumes/base/pihole/etc-dnsmasqd/02-lan.conf
|
echo "address=/.mistborn/$IPV4_PUBLIC" | sudo tee ../mistborn_volumes/base/pihole/etc-dnsmasqd/02-lan.conf
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ echo "Installing Docker Compose"
|
|||||||
#elif [ "$DISTRO" == "raspbian" ]; then
|
#elif [ "$DISTRO" == "raspbian" ]; then
|
||||||
# Install required packages
|
# Install required packages
|
||||||
sudo apt update
|
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
|
# Install Docker Compose from pip
|
||||||
# This might take a while
|
# This might take a while
|
||||||
|
|||||||
Reference in New Issue
Block a user