164 lines
5.0 KiB
Plaintext
164 lines
5.0 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 错开端口
|
||
# 默认策略:管理员口令可用、开发者工具开启、油猴强制安装并持久化;用户数据目录见 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_HTTP_PORT_1=9200
|
||
NEKO_HTTP_PORT_2=9201
|
||
NEKO_HTTP_PORT_3=9202
|
||
NEKO_START_URL=https://accounts.google.com/ServiceLogin?continue=https://www.youtube.com/
|
||
NEKO_IMAGE_X86=ghcr.io/m1k1o/neko/google-chrome:3.0.0
|
||
NEKO_IMAGE_ARM64=ghcr.io/m1k1o/neko/chromium:3.0.0
|
||
NEKO_INSTANCE_COUNT=2
|
||
# Neko 浏览器登录:显示昵称可填 live / admin;密码与全站策略一致(默认 12345678)
|
||
NEKO_USER_PASS=12345678
|
||
NEKO_ADMIN_PASS=12345678
|
||
# 持久化 Chromium 配置(油猴、YouTube 登录、脚本、开发者数据);可从参考机 rsync 整个目录覆盖以迁移
|
||
NEKO_PROFILE_HOST_DIR=
|
||
NEKO_SHM_SIZE=512mb
|
||
NEKO_DESKTOP_SCREEN=1280x720@15
|
||
NEKO_MAX_FPS=15
|
||
NEKO_VIDEO_BITRATE=1200
|
||
NEKO_BROWSER_RENDER_MODE=auto
|
||
NEKO_WEBRTC_EPR=52000-52099
|
||
NEKO_WEBRTC_EPR_1=52000-52099
|
||
NEKO_WEBRTC_EPR_2=52101-52199
|
||
NEKO_WEBRTC_EPR_3=52201-52299
|
||
NEKO_WEBRTC_UDP_RANGE=52000-52099
|
||
NEKO_WEBRTC_UDP_RANGE_1=52000-52099
|
||
NEKO_WEBRTC_UDP_RANGE_2=52101-52199
|
||
NEKO_WEBRTC_UDP_RANGE_3=52201-52299
|
||
NEKO_WEBRTC_ICELITE=0
|
||
NEKO_WEBRTC_TCPMUX=52300
|
||
NEKO_WEBRTC_TCPMUX_1=52300
|
||
NEKO_WEBRTC_TCPMUX_2=52301
|
||
NEKO_WEBRTC_TCPMUX_3=52302
|
||
NEKO_WEBRTC_UDPMUX=52300
|
||
NEKO_WEBRTC_UDPMUX_1=52300
|
||
NEKO_WEBRTC_UDPMUX_2=52301
|
||
NEKO_WEBRTC_UDPMUX_3=52302
|
||
NEKO_WEBRTC_NAT1TO1=
|
||
NEKO_PLUGINS_ENABLED=true
|
||
|
||
# Redroid Android 13(需要 binderfs 或 /dev/binder*;安装脚本会在支持的内核上自动准备)
|
||
ENABLE_REDROID=1
|
||
REDROID_DEFAULT_PORT=5555
|
||
REDROID_PORT_STEP=1
|
||
REDROID_INSTANCE_PREFIX=redroid13
|
||
REDROID_DEFAULT_COUNT=1
|
||
REDROID_DATA_PREFIX=/var/lib/live-redroid
|
||
REDROID_GPU_MODE=guest
|
||
REDROID_DEVICE_PROFILE=pixel-7-pro
|
||
REDROID_ADB_INSECURE=1
|
||
REDROID_BOOT_ARGS="androidboot.redroid_magisk=1 androidboot.redroid_gpu_mode=guest"
|
||
REDROID_EXPECT_GMS=1
|
||
REDROID_EXPECT_MAGISK=1
|
||
REDROID_WEB_CONSOLE_PORT=9010
|
||
REDROID_IMAGE_X86=fahaddz/redroid:13
|
||
REDROID_IMAGE_X86_ALT=fahaddz/redroid:13
|
||
REDROID_IMAGE_ARM64=fahaddz/redroid:13-arm-pi5
|
||
REDROID_IMAGE_ARM64_ALT=fahaddz/redroid:13-arm-pi5
|
||
|
||
# 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
|
||
ENABLE_MITMPROXY=1
|
||
MITMPROXY_WEB_PORT=8086
|
||
MITMPROXY_PROXY_PORT=8087
|
||
ENABLE_VSCODE_SERVER=1
|
||
VSCODE_SERVER_PORT=8440
|
||
VSCODE_SERVER_PASSWORD=12345678
|
||
ENABLE_UPTIME_KUMA=1
|
||
UPTIME_KUMA_PORT=3001
|
||
ENABLE_PULSEAUDIO=1
|
||
PULSEAUDIO_TCP_PORT=4713
|
||
ENABLE_KMSCUBE=1
|
||
KMSCUBE_AUTOSTART=0
|
||
KMSCUBE_DRM_DEVICE=/dev/dri/card0
|
||
ENABLE_OPENCLAW=1
|
||
OPENCLAW_IMAGE=ghcr.io/openclaw/openclaw:latest
|
||
OPENCLAW_GATEWAY_PORT=18789
|
||
OPENCLAW_BRIDGE_PORT=18790
|
||
OPENCLAW_GATEWAY_TOKEN=12345678
|
||
OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1
|
||
OPENCLAW_CONFIG_DIR=/var/lib/live-openclaw/config
|
||
OPENCLAW_WORKSPACE_DIR=/var/lib/live-openclaw/workspace
|
||
# Business profile defaults
|
||
ENABLE_SRS=1
|