115 lines
3.4 KiB
Plaintext
115 lines
3.4 KiB
Plaintext
# Copy to config/system-stack.env before first Linux deployment when you need custom values.
|
||
# Profile model:
|
||
# - install-hub.sh: base Linux super hub, web admin, ShellCrash, monitoring, beginner tools
|
||
# - install-business.sh: Douyin / YouTube / HDMI business module only
|
||
# - install-all.sh: hub first, then business module
|
||
|
||
# LAN identity
|
||
HOSTNAME_ALIAS=live
|
||
|
||
# Shared control plane
|
||
PORT=8001
|
||
|
||
# Caddy 将 :80 反代到 PORT(http://live.local 无端口验收)
|
||
ENABLE_LIVE_EDGE_PROXY=1
|
||
|
||
# Hub web services
|
||
WEBTTY_PORT=7681
|
||
# 默认 3080,避免与 Caddy 占用 80(live.local 无端口访问控制台)
|
||
HOMEPAGE_PORT=3080
|
||
FILEBROWSER_PORT=8082
|
||
NETDATA_PORT=19999
|
||
|
||
# Business streaming services
|
||
SRS_HTTP_PORT=8080
|
||
SRS_API_PORT=1985
|
||
SRS_RTMP_PORT=1935
|
||
SRS_SRT_PORT=10080
|
||
SRS_WEBRTC_PORT=8088
|
||
SRS_WEBRTC_UDP_PORT=8000
|
||
|
||
# ShellCrash
|
||
SHELLCRASH_DIR=/etc/ShellCrash
|
||
|
||
# Browser / Android lab
|
||
BROWSER_PROFILE_DIR=/var/lib/live-browser/profile
|
||
BROWSER_START_URL=https://www.tiktok.com/live
|
||
BROWSER_REMOTE_DEBUG_PORT=9222
|
||
BROWSER_LOCALE=zh-CN
|
||
|
||
# WebTTY credentials
|
||
WEBTTY_USER=live
|
||
WEBTTY_PASS=12345678
|
||
|
||
# File Browser credentials
|
||
FILEBROWSER_USER=live
|
||
FILEBROWSER_PASS=12345678
|
||
|
||
# Wi-Fi onboarding
|
||
WIFI_CONNECTION_NAME=live-wifi
|
||
WIFI_SSID=live
|
||
WIFI_PSK=12345678
|
||
DISABLE_IPV6=1
|
||
|
||
# ws-scrcpy 克隆地址(可改为 NetrisTV 上游:https://github.com/NetrisTV/ws-scrcpy.git)
|
||
# ANDROID_PANEL_GIT_URL=https://github.com/baixin1228/web-scrcpy.git
|
||
|
||
# 可选:Docker Neko 浏览器桌面(m1k1o/neko),与 SRS 8080 错开端口
|
||
# 策略/启动参数对齐 x86 参考机:油猴强制安装、扩展白名单、用户数据持久化目录见 NEKO_PROFILE_HOST_DIR
|
||
# WebRTC 画面:NEKO_WEBRTC_NAT1TO1 必须为本机在局域网中的 IP(如 192.168.x.x),与参考机填网关 IP 同理
|
||
# 设为 1 才会安装/启动 Neko 容器;不需要浏览器桌面可改回 0
|
||
ENABLE_NEKO=1
|
||
NEKO_HTTP_PORT=9200
|
||
# Neko 浏览器登录:用户名为 live / admin,口令与全站策略一致(默认 12345678)
|
||
NEKO_USER_PASS=12345678
|
||
NEKO_ADMIN_PASS=12345678
|
||
# 第二套 Neko 桌面:Firefox(Google 无官方 ARM Chrome;此为多架构 Firefox)。与 Chromium 共用上面口令。
|
||
ENABLE_NEKO_FF=1
|
||
NEKO_FF_HTTP_PORT=9201
|
||
NEKO_FF_WEBRTC_EPR=52200-52300
|
||
NEKO_FF_WEBRTC_UDP_RANGE=52200-52300
|
||
NEKO_FF_DESKTOP_SCREEN=1920x1080@30
|
||
NEKO_FF_PROFILE_HOST_DIR=
|
||
# 持久化 Chromium 配置(油猴、YouTube 登录、脚本);可从参考机 rsync 整个目录覆盖以迁移
|
||
NEKO_PROFILE_HOST_DIR=
|
||
NEKO_SHM_SIZE=2gb
|
||
NEKO_DESKTOP_SCREEN=1920x1080@30
|
||
NEKO_WEBRTC_EPR=52000-52100
|
||
NEKO_WEBRTC_UDP_RANGE=52000-52100
|
||
NEKO_WEBRTC_ICELITE=1
|
||
NEKO_WEBRTC_NAT1TO1=
|
||
NEKO_PLUGINS_ENABLED=true
|
||
|
||
# Android gateway mode(仅双网口直连安卓板时需要;单网口留空 ANDROID_DOWNLINK_IF 即可,控制台为「跳过」)
|
||
ANDROID_GATEWAY_NAME=live-android-gateway
|
||
ANDROID_UPLINK_IF=eth0
|
||
ANDROID_DOWNLINK_IF=
|
||
ANDROID_GATEWAY_CIDR=192.168.51.1/24
|
||
ANDROID_PANEL_PORT=5000
|
||
ANDROID_PANEL_DIR=/opt/live-modules/web-scrcpy
|
||
ANDROID_PANEL_VIDEO_BIT_RATE=1024000
|
||
|
||
# Optional modules
|
||
# Shared
|
||
ENABLE_SHELLCRASH=1
|
||
ENABLE_WEBTTY=1
|
||
ENABLE_BROWSER=1
|
||
ENABLE_MDNS=1
|
||
ENABLE_WIFI_PROFILE=1
|
||
ENABLE_ANDROID_PANEL=1
|
||
# Hub profile defaults
|
||
ENABLE_COCKPIT=1
|
||
ENABLE_FILEBROWSER=1
|
||
ENABLE_HOMEPAGE=1
|
||
ENABLE_NETDATA=1
|
||
# Business profile defaults
|
||
ENABLE_SRS=1
|
||
|
||
# Future modules (recommended next wave, not yet wired into the core installer)
|
||
# ENABLE_CADDY=0
|
||
# ENABLE_WG_EASY=0
|
||
# ENABLE_FRP=0
|
||
# ENABLE_MATRIX=0
|
||
# ENABLE_UPTIME_KUMA=0
|
||
# ENABLE_N8N=0
|