A full docker swarm config file for setting up my home lab.
- Download docker
curl -sSL get.docker.com | sh
- Initialize docker swarm
docker swarm init
- Copy and populate environment vars
cd conf
cp sample.env .env
- Deploy!
chmod +x configure.sh
./configure.sh
If you want to run pihole in ubuntu then disable the automatic dynamic DNS resolving service:
sudo systemctl disable --now systemd-resolved
Then change DNS to something like nameserver 1.1.1.1
in /etc/resolv.conf