Files
douyin-sparkflow/.env.example
T

49 lines
1.9 KiB
Bash

APP_ROOT=/opt/douyin-sparkflow
TZ=Asia/Shanghai
WEB_BIND_ADDRESS=0.0.0.0
WEB_PORT=8787
SPARKFLOW_SESSION_COOKIE_SECURE=0
# Keep noVNC and proxy control ports local by default. Use an SSH tunnel for remote access.
LOGIN_DESKTOP_BIND_ADDRESS=127.0.0.1
LOGIN_DESKTOP_WEB_PORT=8788
LOGIN_DESKTOP_PUBLIC_URL=/login-desktop/proxy/vnc.html?autoconnect=1&resize=scale&view_only=0&path=login-desktop/proxy/websockify
LOGIN_DESKTOP_CPUS=0.8
LOGIN_DESKTOP_MEMORY_LIMIT=1200m
LOGIN_DESKTOP_PIDS_LIMIT=256
LOGIN_DESKTOP_IDLE_TIMEOUT_SECONDS=1800
LOGIN_DESKTOP_STOP_AFTER_EXPORT_SECONDS=60
LOGIN_DESKTOP_STATUS_CACHE_SECONDS=15
# Login browser uses direct access by default; Mihomo is an advanced option.
LOGIN_DESKTOP_PROXY_MODE=direct
LOGIN_DESKTOP_PROXY=http://proxy:7890
LOGIN_DESKTOP_PREFLIGHT_TIMEOUT_SECONDS=15
LOGIN_DESKTOP_NETWORK_CACHE_SECONDS=30
PROXY_BIND_ADDRESS=127.0.0.1
PROXY_HTTP_PORT=7890
PROXY_CONTROLLER_PORT=9090
# Used by deploy/install-server.sh when it creates state/cron/root for the first time.
# Format: HH:00-HH:00/Nm. Example below runs every 20 minutes from 10:00 to 17:59,
# runs one final regular send at 18:00, then an unsent fallback at 18:20.
DEFAULT_SCHEDULE=10:00-18:00/20m
# Optional: paste a Mihomo/Clash subscription URL here, then run ./refresh_proxy.sh.
PROXY_SUB_URL=
PROXY_USER_AGENT=clash-verge/1.7.7
# The Playwright base image is large. The default mirror is faster on mainland China servers.
# If the mirror is unavailable, change it back to:
# PLAYWRIGHT_BASE_IMAGE=mcr.microsoft.com/playwright/python:v1.56.0-jammy
PLAYWRIGHT_BASE_IMAGE=swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/playwright/python:v1.56.0-jammy
NODE_RUNTIME_IMAGE=node:22-bookworm-slim
# Optional build-time proxy. Leave empty unless your Docker build needs a proxy.
HTTP_PROXY_BUILD=
HTTPS_PROXY_BUILD=
ALL_PROXY_BUILD=
PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
PIP_TRUSTED_HOST=pypi.tuna.tsinghua.edu.cn