r/frigate: Clean up Frigate role

* Switch to Quadlet-style `.container` for systemd unit
* Update to new image tag naming scheme (not arch-specific)
* Use environment variables for secrets
* Allow the entire `frigate_config` variable to be overridden
This commit is contained in:
2024-08-09 21:17:58 -05:00
parent 7b61a7da7e
commit 8dfb2e3e4f
7 changed files with 74 additions and 25 deletions

View File

@@ -1,7 +1,16 @@
frigate_image_tag: '{{ frigate_default_image_tag }}'
frigate_image_tag: 0.12.1
frigate_image: ghcr.io/blakeblackshear/frigate:{{ frigate_image_tag }}
frigate_mqtt:
host: localhost
frigate_detectors:
cpu:
type: cpu
frigate_cameras: {}
frigate_enable_gpu: false
frigate_enable_tpu: false
frigate_shm_size: 256
frigate_config:
mqtt: '{{ frigate_mqtt }}'
detectors: '{{ frigate_detectors }}'
cameras: '{{ frigate_cameras }}'
frigate_env: {}