pihole README
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
systemmgr --config && systemmgr install scripts
dockermgr update pihole
OR
mkdir -p "$HOME/.local/share/srv/docker/pihole/rootfs"
git clone "https://github.com/dockermgr/pihole" "$HOME/.local/share/CasjaysDev/dockermgr/pihole"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/pihole/rootfs/." "$HOME/.local/share/srv/docker/pihole/rootfs/"
docker pull casjaysdevdocker/pihole:latest && \
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-pihole \
--hostname casjaysdev-pihole \
-e TZ=${TIMEZONE:-America/New_York} \
-v $HOME/.local/share/srv/docker/pihole/rootfs/data:/data:z \
-v $HOME/.local/share/srv/docker/pihole/rootfs/config:/config:z \
-p 80:80 \
casjaysdevdocker/pihole:latest
version: "2"
services:
pihole:
image: casjaysdevdocker/pihole
container_name: pihole
environment:
- TZ=America/New_York
- HOSTNAME=casjaysdev-pihole
volumes:
- $HOME/.local/share/srv/docker/pihole/rootfs/data:/data:z
- $HOME/.local/share/srv/docker/pihole/rootfs/config:/config:z
ports:
- 80:80
restart: always
📽 dockermgr: Github 📽
🤖 casjay: Github Docker 🤖
⛵ CasjaysDevDocker: Github Docker ⛵