feat(gateway)!: drop HTTP listener, run outbound agent only
- 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
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# 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
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user