You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何修改配置阻止DataSQRL编译时连接https://dev.datasqrl.com/

解决DataSQRL编译时禁止连接外部链接的方法

可以通过以下两种方式阻止DataSQRL编译过程中访问https://dev.datasqrl.com/,避免因连接失败导致编译出错:

方法一:添加离线模式启动参数

在Docker运行命令中加入--offline参数,强制DataSQRL进入离线模式,不会发起外部连接请求:

docker run -it -p 8888:8888 -v $PWD:/build datasqrl/cmd compile --offline metrics/metrics.sqrl

方法二:通过配置文件设置离线模式

  1. 在项目目录下创建datasqrl-config.yaml配置文件,写入以下内容:
sqrl:
  offline: true
  1. 编译时指定该配置文件路径:
docker run -it -p 8888:8888 -v $PWD:/build datasqrl/cmd compile --config /build/datasqrl-config.yaml metrics/metrics.sqrl

内容的提问来源于stack exchange,提问作者avikm

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.15 11:57:04