-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
51 lines (41 loc) · 1.6 KB
/
config.example.toml
File metadata and controls
51 lines (41 loc) · 1.6 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
# Example SLEAP-RTC Configuration File
# Copy this to ~/.sleap-rtc/config.toml or sleap-rtc.toml in your project directory
#
# Select environment with: export SLEAP_RTC_ENV=development
# Valid environments: development, staging, production
# Default: production
[default]
# Shared settings across all environments
connection_timeout = 30
chunk_size = 65536
[environments.development]
# Local development signaling server
signaling_websocket = "ws://localhost:8080"
signaling_http = "http://localhost:8001"
[environments.staging]
# Staging/testing signaling server
signaling_websocket = "ws://staging-server.example.com:8080"
signaling_http = "http://staging-server.example.com:8001"
[environments.production]
# Production signaling server (current default)
signaling_websocket = "wss://signaling.sleap.ai"
signaling_http = "https://signaling.sleap.ai"
# =============================================================================
# Worker Configuration
# =============================================================================
[worker.io]
# Working directory for the worker (can be overridden with --working-dir CLI option)
# working_dir = "/mnt/data"
# Mount points define directories that Clients can browse via the filesystem viewer.
# Each mount has a path (absolute) and a label (human-readable name).
# Only files within configured mounts are accessible to Clients.
[[worker.io.mounts]]
path = "/mnt/shared/lab_data"
label = "Lab Data"
[[worker.io.mounts]]
path = "/mnt/shared/projects"
label = "Shared Projects"
# Example: Add more mounts as needed
# [[worker.io.mounts]]
# path = "/mnt/archive"
# label = "Archive"