Files
IOT_SIM/.env.example
T
2026-10-22 17:37:03 +08:00

18 lines
639 B
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.
# 复制为 .env 后修改(.env 不进 git)。改完执行 docker compose up -d 生效。
# 老师账号(只有一个)。学生账号由老师登录后在"班级管理"里导入名单
TEACHER_USERNAME=admin
TEACHER_PASSWORD=请改成不容易猜到的密码
# 平台最多使用的内存
APP_MEM_LIMIT=4g
# 全站同时运行的学生程序上限,超过时提示"服务器繁忙"
SIM_MAX_RUNS=150
# 每个学生程序的内存上限(MB)
SIM_HEAP_LIMIT_MB=128
# 每次运行累计 CPU 时间上限(秒),防止死循环占满 CPU
SIM_CPU_LIMIT_SECONDS=120
# 每次运行最长时间(分钟)
SIM_MAX_RUN_MINUTES=60