Skip to main content

Pihole

Pihole on Synology NAS

Compose:

services:
  pihole:
    image: pihole/pihole:latest
    container_name: pihole
    environment:
      - PIHOLE_UID=1026 #CHANGE_TO_YOUR_UID
      - PIHOLE_GID=100 #CHANGE_TO_YOUR_GID
      - TZ=America/New_York #CHANGE_TO_YOUR_TZ
    - WEBPASSWORD=123
      # - WEB_PORT=8000
    volumes:
      - /volume1/Apex/docker_volumes/pihole/dnsmasq.d:/etc/dnsmasq.d
      - /volume1/Apex/docker_volumes/pihole/data:/etc/pihole
    restart: unless-stopped
    networks:
      nomad:
        ipv4_address: 192.168.1.241
    hostname: apex-hole
networks:
  nomad:
    external: true