-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
66 lines (52 loc) · 1.69 KB
/
Copy pathconfig.example.yaml
File metadata and controls
66 lines (52 loc) · 1.69 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Sentinel CloudNode Configuration Example
# Node identification
node:
# Friendly name shown in dashboard (optional, auto-generated if empty)
name: ""
# Cloud connection settings
cloud:
# Sentinel Command Center URL
api_url: "http://localhost:8000"
# Heartbeat interval in seconds (default: 30)
heartbeat_interval: 30
# Camera settings
cameras:
# Auto-detect USB cameras on startup
auto_detect: true
# Manual camera list (used if auto_detect is false)
# devices:
# - "/dev/video0"
# - "/dev/video1"
# Streaming settings per camera
streaming:
# Target frames per second
fps: 30
# JPEG quality (1-100)
jpeg_quality: 85
# Recording settings
recording:
# Enable local recording
enabled: true
# Recording format: "mp4" or "mkv"
format: "mp4"
storage:
# NOTE: the `path` field was removed in v0.1.40. Storage location is
# now resolved by `paths::data_dir()` and depends on platform:
# - $SOURCEBOX_SENTRY_DATA_DIR (Docker)
# - ./data/ (Linux/macOS cargo build, or existing legacy install)
# - C:\ProgramData\SourceBoxSentry\ (Windows MSI install)
# Setting `path` here is silently ignored by the YAML loader.
# Maximum storage size in GB (oldest recordings deleted when exceeded)
max_size_gb: 64
# HTTP server settings — local HLS preview + Docker healthcheck
server:
# Port for HTTP API
port: 8080
# Bind address. Defaults to 127.0.0.1 because the server has no auth and
# exposes HLS segments — binding to 0.0.0.0 lets anyone on the LAN pull
# live video. Only change this if you explicitly want LAN-local playback.
bind: "127.0.0.1"
# Logging settings
logging:
# Log level: trace, debug, info, warn, error
level: "info"