Capture Neko/WG/network hubs, Studio viewer charts, physical deploy docs, and one-shot scripts so VPS vs physical can be toggled later without losing WIP. Co-authored-by: Cursor <cursoragent@cursor.com>
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
# douyinWEB install config — copy to /etc/douyinweb.install.env (or source before bootstrap)
|
|
# Never commit real passwords. Lines starting with # are comments.
|
|
|
|
# --- shape: vps | physical | edge ---
|
|
# vps = app + TLS on same overseas VPS (bootstrap_vps.sh)
|
|
# physical = app on home/PVE Ubuntu; TLS on another VPS over WireGuard
|
|
# edge = only Caddy(+WG) on overseas VPS for a physical deploy
|
|
INSTALL_SHAPE=vps
|
|
|
|
# --- required ---
|
|
DOMAIN=your.example.com
|
|
ADMIN_USER=admin
|
|
ADMIN_PASS=
|
|
|
|
# Git (or leave empty to use already-extracted /opt/douyinWEB)
|
|
GIT_URL=
|
|
GIT_BRANCH=main
|
|
APP_DIR=/opt/douyinWEB
|
|
FRESH=1
|
|
|
|
# Public URL (default https://DOMAIN)
|
|
# PUBLIC_BASE=https://your.example.com
|
|
|
|
# Ports (usually keep defaults)
|
|
WEB_PORT=4015
|
|
API_PORT=8014
|
|
PB_PORT=8092
|
|
YT_PORT=8020
|
|
S3_PORT=8333
|
|
|
|
# --- physical guest only ---
|
|
# Listen for WireGuard / LAN (never 127.0.0.1 on physical)
|
|
BIND_HOST=0.0.0.0
|
|
# This machine's WireGuard address (Caddy upstream)
|
|
WG_SELF_IP=10.8.0.2
|
|
# VPS public IP for Neko WebRTC NAT1TO1 (optional until Neko used)
|
|
NEKO_NAT1TO1=
|
|
# Install ShellCrash for China egress? 0/1
|
|
INSTALL_SHELLCRASH=0
|
|
# Temporary HTTP proxy only while downloading ShellCrash (optional)
|
|
# LIVE_HTTP_PROXY=http://192.168.x.x:7897
|
|
|
|
# --- edge VPS only (Caddy → physical WG) ---
|
|
WG_UPSTREAM_IP=10.8.0.2
|
|
CADDY_SITES_DIR=/etc/caddy/sites
|
|
# Reload Caddy after writing site? 1/0
|
|
CADDY_RELOAD=1
|