Pihole-Sync-receiver

Pihole-Sync-receiver

Docker app from ZappyZap's Repository

Overview

A Docker Container To Sync Two Piholes. This is the Receiver/Secondary, you will need a Sender/Master on the host who is running the Sender/Master Pi-Hole. NOTE: The sending and recieving container are only necessary for solving permissions issues without giving root access to the recieving container. If you have no problem giving root access to the recieving end (at the cost of security), or your recieving Pihole is not running in Docker, you don't need to use the recieving container.

Runtime arguments

Network
bridge
Shell
sh
Privileged
false
Extra Params
--restart=unless-stopped

Template configuration

Node TypeVariable

This is where you should define if the container is the sender or the receiver

Target
NODE
Default
receiver
Value
receiver
SSH PortPorttcp

This is the port you want to expose for rsync/ssh. Your host is likely using 22 for SSH already, so it should be a non-standard port. The default of 22222 is probably fine. However, if you change this on the receiver node, be sure to change the REM_SSH_PORT on the sender node.

Target
22
Default
22222
Value
22222
Root directoryPathrw

This is the directory in which the SSH key file and the known hosts file will be stored, so it needs to be persistent.

Target
/root
Etc-sshPathrw

This is the directory in which the SSH server key files and the SSH daemon config will be stored, so it needs to be persistent.

Target
/etc/ssh
Pi-Hole PathPathrw

This is the /etc/pihole/ directory the Pi-Hole container writes to on the host filesystem. It is monitored and sychronized with the remote client directory. It should be set to the same as the /etc/pihole/ in the Pihole Docker container.

Target
/mnt/etc-pihole
Pi-Hole DNSmasq pathPathrw

This is the /etc/dnsmasq.d/ directory the Pi-Hole container writes to on the host filesystem. It is monitored and sychronized with the remote client directory. It should be set to the same as the /etc/dnsmasq.d/ in the Pihole Docker container.

Target
/mnt/etc-dnsmasq.d

Categories

Download Statistics

138,453
Total Downloads
3,878
This Month
3,195
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
shirom/pihole-sync:latest
Last Updated2023-02-09
First Seen2022-10-03

Run Pihole-Sync-receiver on Unraid.

Pihole-Sync-receiver is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.