Modularize bridge and improve control GUI
This commit is contained in:
@@ -1,36 +1,5 @@
|
||||
# Podman Quadlet Example
|
||||
|
||||
## PL
|
||||
|
||||
To jest generyczny przyklad uruchomienia kontenera
|
||||
`frigate-camera-control-bridge` przez Podman Quadlet. Pliki sa przykladem dla
|
||||
jednej instancji Frigate. Dla wielu instancji skopiuj `.container` oraz `.env`
|
||||
i zmien `FRIGATE_NAME`, `FRIGATE_URL`, `BASE_TOPIC`, port publikowany przez
|
||||
`PublishPort` oraz credentiale MQTT.
|
||||
|
||||
Przykladowa instalacja:
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
W pliku env uzupelnij:
|
||||
- `MQTT_HOST`, `MQTT_USER`, `MQTT_PASSWORD`
|
||||
- `DEFAULT_CAMERA_USER`, `DEFAULT_CAMERA_PASSWORD`
|
||||
- `FRIGATE_NAME`, `FRIGATE_URL`, `BASE_TOPIC`
|
||||
|
||||
Jesli sidecar ma startowac razem z istniejaca usluga Frigate, dopasuj w
|
||||
`.container` nazwe `frigate.service` w polach `After`, `Requires`, `BindsTo`
|
||||
i `PartOf`.
|
||||
|
||||
## EN
|
||||
|
||||
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`,
|
||||
|
||||
@@ -15,6 +15,7 @@ UI_LANGUAGE=en
|
||||
WAIT_FOR_FRIGATE=true
|
||||
FRIGATE_RETRY_SECONDS=5
|
||||
FRIGATE_STARTUP_WAIT_SECONDS=0
|
||||
FRIGATE_REFRESH_SECONDS=300
|
||||
|
||||
SNAPSHOT_ENABLED=true
|
||||
SNAPSHOT_HEIGHT=180
|
||||
@@ -22,3 +23,9 @@ SNAPSHOT_CACHE_SECONDS=300
|
||||
SNAPSHOT_RETRY_SECONDS=600
|
||||
SNAPSHOT_REFRESH_SECONDS=3600
|
||||
SNAPSHOT_LIVE_ON_GUI=true
|
||||
|
||||
STARTUP_ALL_OFF=true
|
||||
AUTO_OFF_SIREN_SECONDS=180
|
||||
AUTO_OFF_RED_BLUE_SECONDS=300
|
||||
AUTO_OFF_WHITE_LIGHT_SECONDS=600
|
||||
AUTO_OFF_DEFAULT_SECONDS=0
|
||||
|
||||
Reference in New Issue
Block a user