后端可视化调试
This commit is contained in:
@@ -25,10 +25,7 @@ services:
|
||||
env_file:
|
||||
- .env
|
||||
command: >-
|
||||
sh -lc
|
||||
"npm install --no-fund --no-audit &&
|
||||
python3 -m pip install --no-cache-dir --break-system-packages -e /app/subservices/ocr-worker &&
|
||||
npm run dev"
|
||||
sh /app/scripts/start-dev-container.sh
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -48,9 +45,15 @@ services:
|
||||
CLAIM_BASE_URL: ${CLAIM_BASE_URL:-http://localhost/#/claim}
|
||||
TENCENT_REDEEM_PROOF_MODE: ${TENCENT_REDEEM_PROOF_MODE:-full}
|
||||
TENCENT_BROWSER_HEADLESS: ${TENCENT_BROWSER_HEADLESS:-true}
|
||||
TENCENT_BROWSER_DEVTOOLS: ${TENCENT_BROWSER_DEVTOOLS:-false}
|
||||
TENCENT_BROWSER_PREWARM: ${TENCENT_BROWSER_PREWARM:-true}
|
||||
TENCENT_BROWSER_KEEP_ALIVE: ${TENCENT_BROWSER_KEEP_ALIVE:-true}
|
||||
TENCENT_BROWSER_SLOW_MO: ${TENCENT_BROWSER_SLOW_MO:-0}
|
||||
TENCENT_SESSION_DEBUG: ${TENCENT_SESSION_DEBUG:-false}
|
||||
TENCENT_BROWSER_NOVNC_ENABLED: ${TENCENT_BROWSER_NOVNC_ENABLED:-true}
|
||||
TENCENT_BROWSER_NOVNC_PORT: ${TENCENT_BROWSER_NOVNC_PORT:-6080}
|
||||
TENCENT_BROWSER_VNC_PORT: ${TENCENT_BROWSER_VNC_PORT:-5900}
|
||||
TENCENT_BROWSER_VNC_RESOLUTION: ${TENCENT_BROWSER_VNC_RESOLUTION:-1440x1280x24}
|
||||
ADMIN_SESSION_SECRET: ${ADMIN_SESSION_SECRET}
|
||||
ADMIN_DEFAULT_USERS_JSON: ${ADMIN_DEFAULT_USERS_JSON}
|
||||
AGISO_APP_SECRET: ${AGISO_APP_SECRET:-}
|
||||
@@ -63,6 +66,8 @@ services:
|
||||
- ./apps/backend:/app
|
||||
- backend_node_modules:/app/node_modules
|
||||
- ./apps/backend/data:/app/data
|
||||
ports:
|
||||
- "${TENCENT_BROWSER_NOVNC_PORT:-6080}:6080"
|
||||
|
||||
frontend:
|
||||
image: node:22-bookworm
|
||||
|
||||
Reference in New Issue
Block a user