how do i route my Plume pods through my pihole server running on docker on ubuntu 20.04?
- User
how do i route my Plume pods through my pihole server running on docker on ubuntu 20.04?
- Assistant
how do i route my Plume pods through my pihole server running on docker on ubuntu 20.04?
Setting up a Pi-hole server running in a Docker container on Ubuntu 20.04 and routing your Plume pods through it involves a few distinct steps. Here's a detailed guide:
Install Docker and Docker-Compose (if not already installed):
sudo apt update
sudo apt install docker.io docker-compose -y
sudo systemctl start docker
sudo systemctl enable docker
Set up Docker network (optional but recommended):
Create a Docker network to isolate your Pi-hole container:
docker network create pihole_network
Create a directory for Pi-hole configuration:
mkdir ~/pihole
cd ~/pihole
Create a docker-compose.yml file in the directory:
version: '3'
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
environment:
TZ: 'America/New_York' # Change to your timezone
WEBPASSWORD: 'your_password' # Set a password for the web interface
DNSMASQ_LISTENING: all
ServerIP: '192.168.1.2' # Replace with your server's IP address
volumes:
- './etc-pihole/:/etc/pihole/'
- './etc-dnsmasq.d/:/etc/dnsmasq.d/'
network_mode: "host" # Alternatively, use your custom Docker network: <<- !Change this to your network when not using "host" mode
restart: unless-stopped
Start the Pi-hole container:
sudo docker-compose up -d
Set Pi-hole DNS IP in Plume configuration:
Access your Plume app:
More > Advanced Settings > DNS.192.168.1.2.Verify Configuration:
http://<Pi-hole_IP>/admin, replacing <Pi-hole_IP> with the IP address of your Pi-hole server.80 (HTTP) and 443 (HTTPS) are not blocked by any firewall.network_mode: host, make sure settings in the docker-compose.yml are correctly set to use that network, and Pi-hole can communicate with devices on your internal network.By following these steps, your Plume network should be routing DNS queries through your Pi-hole server, providing you with enhanced network monitoring and ad-blocking capabilities.
Not yet included in a published release.