Skip to content

Latest commit

 

History

History
66 lines (52 loc) · 1.68 KB

README.md

File metadata and controls

66 lines (52 loc) · 1.68 KB

👋 Welcome to pihole 🚀

pihole README

Requires scripts to be installed

 sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
 systemmgr --config && systemmgr install scripts  

Automatic install/update

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/"

via command line

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

via docker-compose

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

Author

📽 dockermgr: Github 📽
🤖 casjay: Github Docker 🤖
⛵ CasjaysDevDocker: Github Docker