Files
37duAutomation/desktop/electron-shell/.env.example
T

24 lines
1.1 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 37du Electron 壳:开发环境配置(拷贝为 .env 并修改)
# =============================================================
# 服务端地址(中心机控制面)
CONTROLPLANE_URL=http://117.72.191.188:8800
# 内部凭证(与中心机 controlplane/.env 的 CONTROLPLANE_TOKEN 保持一致;非空时发 X-API-Token)
CONTROLPLANE_TOKEN=
# 插件执行子进程的 Python 解释器(解析优先级:本变量 > 环境包 python-env/current.json > 系统 python)
# 开发推荐显式指定项目 .venv;正式打包后不设即可自动使用随包/下发的环境包
# PYTHON_EXE=D:\work\code\37duAutomation\.venv\Scripts\python.exe
# 环境包目录的显式覆盖(默认:打包态 exe 同级 python-env/;dev electron-shell/python-env/)
# SHELL_PYTHON_ENV_ROOT=D:\work\code\37duAutomation\desktop\electron-shell\python-env
# 插件执行超时(秒,浏览器类默认 30min)
RUN_TIMEOUT=1800
# 插件进程作业级内存上限(MB,环境包模式经 job_guard/Job Object 生效,默认 2048)
# RUN_MAX_MEM_MB=2048
# 调试:1 开启完整 JSON 调试日志
# DEBUG=1