feat(zhulan): add restricted remote development cell

This commit is contained in:
冰朔 2026-08-13 14:32:40 +08:00
commit 366b8911e4
22 changed files with 4503 additions and 0 deletions

View file

@ -0,0 +1,17 @@
ZHULAN_BIND=127.0.0.1
ZHULAN_PORT=17631
ZHULAN_DB=/var/lib/guanghu/zhulan-remote-cell/state.sqlite3
ZHULAN_SECRET_FILE=/etc/guanghu/secrets/zhulan-remote-cell.secret
ZHULAN_POLICY=/opt/guanghu/zhulan-remote-cell/policy.json
ZHULAN_UI_DIR=/opt/guanghu/zhulan-remote-cell/ui
ZHULAN_WORKSPACE_ROOT=/srv/guanghu/zhulan-cell/workspaces
ZHULAN_CANDIDATE_ROOT=/srv/guanghu/zhulan-cell/candidates
ZHULAN_FORGEJO_VERIFY_URL=https://guanghulab.com/code/api/v1/user
ZHULAN_OWNER_LOGIN=bingshuo
ZHULAN_COOKIE_SECURE=1
ZHULAN_COOKIE_PATH=/zhulan/
ZHULAN_PUBLIC_CREATE_LIMIT=12
ZHULAN_OWNER_LOGIN_LIMIT=8
ZHULAN_OAUTH_REGISTER_LIMIT=20
ZHULAN_BWRAP=/opt/guanghu/zhulan-remote-cell/runtime/zhulan-bwrap
ZHULAN_VALIDATION_SOCKET=/run/guanghu/zhulan-validation/executor.sock