27 lines
1.0 KiB
Markdown
27 lines
1.0 KiB
Markdown
# Podman Quadlet Example
|
|
|
|
This is a generic example for running `frigate-camera-control-bridge` with
|
|
Podman Quadlet. The files model one Frigate instance. For multiple instances,
|
|
copy the `.container` and `.env` files and change `FRIGATE_NAME`,
|
|
`FRIGATE_URL`, `BASE_TOPIC`, the `PublishPort` binding, and MQTT credentials.
|
|
|
|
Example install:
|
|
|
|
```bash
|
|
install -d /etc/frigate-camera-control-bridge
|
|
install -m 0600 frigate-camera-control-bridge.env.example \
|
|
/etc/frigate-camera-control-bridge/frigate-main.env
|
|
install -m 0644 frigate-camera-control-bridge.container \
|
|
/etc/containers/systemd/frigate-camera-control-bridge.container
|
|
systemctl daemon-reload
|
|
systemctl enable --now frigate-camera-control-bridge.service
|
|
```
|
|
|
|
Fill these env values:
|
|
- `MQTT_HOST`, `MQTT_USER`, `MQTT_PASSWORD`
|
|
- `DEFAULT_CAMERA_USER`, `DEFAULT_CAMERA_PASSWORD`
|
|
- `FRIGATE_NAME`, `FRIGATE_URL`, `BASE_TOPIC`
|
|
|
|
If the sidecar should follow an existing Frigate service, adjust the
|
|
`frigate.service` references in `After`, `Requires`, `BindsTo`, and `PartOf`.
|