I run horwood.cloud

Pixelfed

Could you help fund my server 👉 Fund me

  • 5 Posts
  • 206 Comments
Joined 2 years ago
cake
Cake day: July 27th, 2023

help-circle











  • sure, you can see below that port 53 is only on a secondary IP I have on my docker host.

    ---
    services:
      pihole01:
        image: pihole/pihole:latest
        container_name: pihole01
        ports:
          - "8180:80/tcp"
          - "9443:443/tcp"
          - "192.168.1.156:53:53/tcp" # this will only bind to that IP
          - "192.168.1.156:53:53/udp" # this will only bind to that IP
          - "192.168.1.156:67:67/udp" # this will only bind to that IP
        environment:
          TZ: 'Europe/London'
          FTLCONF_webserver_api_password: 'mysecurepassword'
          FTLCONF_dns_listeningMode: 'all'
        dns:
          - '127.0.0.1'
          - '192.168.1.1'
        restart: unless-stopped
        labels:
            - "traefik.http.routers.pihole_primary.rule=Host(`dns01.example.com`)"
            - "traefik.http.routers.pihole_primary.service=pihole_primary"
            - "traefik.http.services.pihole_primary.loadbalancer.server.port=80"
    




  • You need some automations to run if any of the exterior sensors change state, if they do save snapshots of exterior cameras and send you an alert. Once you get the alert you can then call the police if you think you need to, or in most cases just see that its the postie.

    I have an automation run when both me and my wife are away that will turn off all lights and turn on 2 automations, the 2 automations are if motion on the drive send me a photo and if the exterior door sensors change state send an alert