BirdWatch-Relay/.env.example
2026-05-03 22:47:38 -05:00

16 lines
705 B
Text

# Copy to .env. Generate the pairing code with:
# openssl rand -hex 3 # 6 hex chars
# Pairing code — phone sends this in the Authorization header on first
# registration. You also type it once into the BirdWatch app.
RELAY_PAIRING_CODE=replace-me-with-6-hex-chars
# Frigate connection details. The relay subscribes to /ws as a long-lived
# event consumer. URL should be the same one Frigate's web UI lives at,
# from this machine's perspective (typically http://localhost:5000).
FRIGATE_URL=http://localhost:5000
# Frigate API user + password. Leave both blank if Frigate has auth disabled.
# Recommended: create a dedicated Frigate user (e.g. "birdwatch-relay").
FRIGATE_USER=
FRIGATE_PASSWORD=