mirror of
https://github.com/ihmily/StreamCap.git
synced 2026-05-08 06:26:13 +08:00
36 lines
943 B
Plaintext
36 lines
943 B
Plaintext
# 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 |