-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
29 lines (23 loc) · 915 Bytes
/
Copy path.env.example
File metadata and controls
29 lines (23 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Sentinel Command Center Configuration
# Copy to backend/.env and fill in your values
# Clerk Authentication (required)
# Get these from https://clerk.com/ dashboard
CLERK_PUBLISHABLE_KEY=pk_test_your_publishable_key_here
CLERK_SECRET_KEY=sk_test_your_secret_key_here
CLERK_WEBHOOK_SECRET=
# Frontend URL (for CORS)
FRONTEND_URL=http://localhost:5173
# Database
DATABASE_URL=sqlite:///./opensentry.db
# In-memory HLS segment cache (live streaming)
SEGMENT_CACHE_MAX_PER_CAMERA=15
SEGMENT_PUSH_MAX_BYTES=2097152
CLEANUP_INTERVAL=20
INACTIVE_CAMERA_CLEANUP_HOURS=24
# Log retention (stream, MCP, audit, motion, notifications — days)
LOG_RETENTION_DAYS=90
# Sentry error tracking (optional in dev, recommended in prod)
# Get the DSN from https://sentry.io → your project → Settings → Client Keys
# Leave blank to disable; the backend no-ops cleanly when unset.
SENTRY_DSN=
SENTRY_TRACES_SAMPLE_RATE=0.1