refactor: migrate browser gateway to native xvfb

This commit is contained in:
2026-09-18 16:50:18 +08:00
parent 7e3808cf4c
commit e8f2c192ba
86 changed files with 6104 additions and 5323 deletions
+16
View File
@@ -0,0 +1,16 @@
# Copy to ~/.config/creatorhub/browser-gateway.env and replace the token.
LISTEN_ADDR=0.0.0.0:8081
GATEWAY_TOKEN=replace-with-at-least-16-random-characters
BROWSER_STATE_DIR=~/.local/state/creatorhub/browser-gateway
BROWSER_PROFILE_ROOT=~/.local/share/creatorhub/browser-profiles
BROWSER_VERSION=148.0.7778.215
BROWSER_PATH=~/.local/share/creatorhub/browsers/fingerprint-chromium/148.0.7778.215/chrome
NODE_NAME=
RUNTIME_CLEANUP_TIMEOUT=30
RUNTIME_READY_TIMEOUT=15
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