mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-23 19:11:14 +01:00
36cbffcc5e
* Initial re-implementation of semantic search * put docker-compose back and make reindex match docs * remove debug code and fix import * fix docs * manually build pysqlite3 as binaries are only available for x86-64 * update comment in build_pysqlite3.sh * only embed objects * better error handling when genai fails * ask ollama to pull requested model at startup * update ollama docs * address some PR review comments * fix lint * use IPC to write description, update docs for reindex * remove gemini-pro-vision from docs as it will be unavailable soon * fix OpenAI doc available models * fix api error in gemini and metadata for embeddings
17 lines
433 B
Plaintext
17 lines
433 B
Plaintext
#!/command/with-contenv bash
|
|
# shellcheck shell=bash
|
|
# Start the Frigate service
|
|
|
|
set -o errexit -o nounset -o pipefail
|
|
|
|
# Logs should be sent to stdout so that s6 can collect them
|
|
|
|
# Tell S6-Overlay not to restart this service
|
|
s6-svc -O .
|
|
|
|
echo "[INFO] Starting ChromaDB..."
|
|
|
|
# Replace the bash process with the Frigate process, redirecting stderr to stdout
|
|
exec 2>&1
|
|
exec /usr/local/chroma run --path /config/chroma --host 0.0.0.0
|