- delete GatewayHTTPServer/GatewayHandler, create_server, /healthz and /v1/channel; event_channel module removed - load_config now requires CREATOR_PLATFORM_URL + CREATOR_GATEWAY_KEY - run() wires Gateway into OutboundAgent; SIGINT/SIGTERM stop the agent - deploy env example, install script, systemd unit docs and deployment docs updated to the outbound model; NATIVE_GATEWAY_ENDPOINT dead dev config removed
17 lines
845 B
Bash
17 lines
845 B
Bash
# Copy to ~/.config/creatorhub/browser-gateway.env and replace the key.
|
|
# 平台地址与网关 key 在控制面「网关管理」页生成;网关主动出站连接平台。
|
|
CREATOR_PLATFORM_URL=http://platform.example:8080
|
|
CREATOR_GATEWAY_KEY=replace-with-at-least-16-random-characters
|
|
BROWSER_STATE_DIR=~/.local/state/creatorhub/browser-gateway
|
|
BROWSER_PROFILE_ROOT=~/.local/share/creatorhub/browser-profiles
|
|
BROWSER_PATH=~/.local/share/creatorhub/browsers/fingerprint-chromium/148.0.7778.215/chrome
|
|
NODE_NAME=
|
|
RUNTIME_CLEANUP_TIMEOUT=30
|
|
RUNTIME_READY_TIMEOUT=60
|
|
RUNTIME_MIN_FREE_BYTES=21474836480
|
|
RUNTIME_LOG_MAX_BYTES=1073741824
|
|
PROFILE_CACHE_MAX_BYTES=21474836480
|
|
# Optional single-node manual observation only: reuse an already-running Xvfb.
|
|
# Keep this unset for the normal per-runtime isolated Xvfb mode.
|
|
# RUNTIME_EXTERNAL_DISPLAY=99
|