<commit_before># ===== Pihole DNS filter service =====
#
# Note the /etc/resolv.conf mount is temporary until Pihole updated to v3.2.1 r1856 or greater
#
# ----- Notes -----
#
# Repos:
#  - https://hub.docker.com/r/pihole/pihole/
#  - https://github.com/pi-hole/docker-pi-hole

version: '3.2'

services:
  pihole:
    container_name: pihole
    image: pihole/pihole:4.3.2_armhf
    env_file: .env
    environment:
      # lroguet/rpi-nginx-proxy support
      - VIRTUAL_HOST=pihole.dockerpi.homedev
    labels:
      # traefik support
      - "traefik.backend=pihole" 
      - "traefik.frontend.rule=Host:pihole.dockerpi.homedev"
      - "traefik.docker.network=proxy"
      - "traefik.port=80"
      - "traefik.enable=true"
    volumes:
    # - $PWD/configs/resolv.conf:/etc/resolv.conf
      - $PWD/configs/pihole/:/etc/pihole/
      - $PWD/configs/dnsmasq.d/:/etc/dnsmasq.d/
    ports:
      - "53:53/tcp"
      - "53:53/udp"
    networks:
      - proxy
    #  - default
    restart: unless-stopped

networks:
  proxy:
    external:
      name: proxy
<commit_msg>Upgrading Pihole image used (pihole/pihole:4.3.2_armhf -> pihole/pihole:v5.1.2)<commit_after># ===== Pihole DNS filter service =====
#
# Note the /etc/resolv.conf mount is temporary until Pihole updated to v3.2.1 r1856 or greater
#
# ----- Notes -----
#
# Repos:
#  - https://hub.docker.com/r/pihole/pihole/
#  - https://github.com/pi-hole/docker-pi-hole

version: '3.2'

services:
  pihole:
    container_name: pihole
    image: pihole/pihole:v5.1.2
    env_file: .env
    environment:
      # lroguet/rpi-nginx-proxy support
      - VIRTUAL_HOST=pihole.dockerpi.homedev
    labels:
      # traefik support
      - "traefik.backend=pihole" 
      - "traefik.frontend.rule=Host:pihole.dockerpi.homedev"
      - "traefik.docker.network=proxy"
      - "traefik.port=80"
      - "traefik.enable=true"
    volumes:
    # - $PWD/configs/resolv.conf:/etc/resolv.conf
      - $PWD/configs/pihole/:/etc/pihole/
      - $PWD/configs/dnsmasq.d/:/etc/dnsmasq.d/
    ports:
      - "53:53/tcp"
      - "53:53/udp"
    networks:
      - proxy
    #  - default
    restart: unless-stopped

networks:
  proxy:
    external:
      name: proxy

{'fraction_non_alphanumeric': 0.15595075239398085, 'fraction_numerical': 0.022799817601459188, 'mean_word_length': 2.314199395770393, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3723371', 'n_tokens_mistral': 914, 'n_tokens_neox': 890, 'n_words': 129}