infra: full IaC state after hf-pdocker-01 rebuild (2026-03-08)

Replaces initial Nomad/Consul/Terraform skeleton with current Docker-based
infrastructure across all three nodes (hf-pdocker-01, hf-pdocker-02, bart).

Key changes:
- CLAUDE.md: updated service distribution reflecting hf-pdocker-01 restored
- docs/plans/2026-03-08-hf-pdocker-01-rebuild.md: new rebuild plan doc
- compose/bart/: ai-agents, guacamole, matrix, media, openvas, smarthome, watchtower
- compose/hf-pdocker-02/: traefik, monitoring, adguard, gitea, semaphore, wikijs,
  unifi, vaultwarden, actual-budget, mcpo, netclaw, trivy, watchtower, n8n
- compose/hf-pdocker-01/: frigate, frigate-notify, farm-agent
- stacks/: all Swarm stack definitions (monitoring, traefik, smarthome, matrix,
  guacamole, media, ai-agents, frigate, gitea, semaphore, wikijs, unifi, etc.)
- .gitignore: exclude .env credential files and acme.json certs
- .env.example: placeholder credential files for all services
- .claude/agents/: gitea-backup and other infrastructure agent configs
- scripts/: frigate media cleanup and NAS sync scripts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-08 18:51:25 -05:00
parent b1d111a011
commit de1d9e1d93
102 changed files with 12634 additions and 3 deletions
+263
View File
@@ -0,0 +1,263 @@
mqtt:
enabled: true
host: mosquitto
port: 1883
detectors:
coral:
type: cpu
# Intel QuickSync hardware acceleration
ffmpeg:
hwaccel_args: preset-intel-qsv-h264
# Database for event history
database:
path: /media/frigate/frigate.db
# Record settings
record:
enabled: true
retain:
days: 7
mode: motion
alerts:
retain:
days: 14
detections:
retain:
days: 14
objects:
track:
- person
- car
- dog
- cat
- truck
filters:
person:
min_area: 5000
threshold: 0.75
car:
min_area: 10000
threshold: 0.7
# Snapshots
snapshots:
enabled: true
clean_copy: true
retain:
default: 14
mode: motion
# Camera definitions
cameras:
# House Perimeter Cameras
house_north:
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:123456@192.168.44.51:554/stream1
roles:
- detect
- record
detect:
width: 1024
height: 768
fps: 5
motion:
mask:
- 0,0,0,100,100,100,100,0
zones:
front_yard:
coordinates: 0,768,1024,768,1024,384,0,384
house_west:
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:123456@192.168.44.52:554/stream1
roles:
- detect
- record
detect:
width: 1024
height: 768
fps: 5
house_south:
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:123456@192.168.44.53:554/stream1
roles:
- detect
- record
detect:
width: 1024
height: 768
fps: 5
house_east:
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:123456@192.168.44.58:554/stream1
roles:
- detect
- record
detect:
width: 960
height: 540
fps: 5
house_south_corner:
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:123456@192.168.44.61:554/stream1
roles:
- detect
- record
detect:
width: 1280
height: 960
fps: 5
objects:
track:
- person
- car
- dog
house_south_yard:
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:123456@192.168.44.62:554/stream1
roles:
- detect
- record
detect:
width: 1280
height: 960
fps: 5
back_porch:
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:123456@192.168.44.63:554/stream1
roles:
- detect
- record
detect:
width: 1280
height: 960
fps: 5
# Garage & Driveway
garage_2:
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:123456@192.168.44.64:554/stream1
roles:
- detect
- record
detect:
width: 640
height: 480
fps: 5
# Shop Cameras
shop_west:
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:123456@192.168.44.56:554/stream1
roles:
- detect
- record
detect:
width: 1024
height: 768
fps: 5
shop_driveway:
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:123456@192.168.44.57:554/stream1
roles:
- detect
- record
detect:
width: 1024
height: 768
fps: 5
# Other Cameras
pool_room:
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:123456@192.168.86.142:554/stream1
roles:
- detect
- record
detect:
width: 1280
height: 720
fps: 5
gate_camera:
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:123456@192.168.86.175:554/stream1
roles:
- detect
- record
detect:
width: 1280
height: 960
fps: 5
# Offline cameras - commented out for now
# front_door:
# enabled: false
# ffmpeg:
# inputs:
# - path: rtsp://admin:123456@192.168.44.59:554/stream1
# detect:
# width: 1024
# height: 768
# fps: 5
# driveway_up:
# enabled: false
# ffmpeg:
# inputs:
# - path: rtsp://admin:123456@192.168.86.150:554/stream1
# driveway_down:
# enabled: false
# ffmpeg:
# inputs:
# - path: rtsp://admin:123456@192.168.44.68:554/stream1
# shop_east:
# enabled: false
# ffmpeg:
# inputs:
# - path: rtsp://admin:123456@192.168.44.55:554/stream1
# UI settings
ui:
timezone: America/Chicago
detect:
enabled: true
version: 0.16-0