forked from ihmily/StreamCap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (25 loc) · 943 Bytes
/
.env.example
File metadata and controls
36 lines (25 loc) · 943 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
30
31
32
33
34
35
36
# StreamCap runtime environment configuration
# PLATFORM: Runtime platform for the application, supports 'desktop' or 'web' modes (default: desktop)
PLATFORM=desktop
# Set timezone
TZ=Asia/Shanghai
# HOST: Web server host address (default: 127.0.0.1, used for local development)
HOST=127.0.0.1
# PORT: Web server port number (default: 6006)
PORT=6006
# PORT: Web video server api port number (default: 6007)
VIDEO_API_PORT=6007
# Set web video storage directory
CUSTOM_VIDEO_ROOT_DIR=
# Set external URL for the video API (example: http://www.example.com)
VIDEO_API_EXTERNAL_URL=
# Enable automatic update check (true/false)
AUTO_CHECK_UPDATE=false
# Update source priority (github, custom, both)
UPDATE_SOURCE=both
# GitHub repository for updates
GITHUB_REPO=ihmily/StreamCap
# Custom update API URL (leave empty to disable)
CUSTOM_UPDATE_API=
# Update check interval in seconds (default: 86400 = 1 day)
UPDATE_CHECK_INTERVAL=86400