open-webui 环境变量设置

open-webui 是通过PIP方式安装;如果用docker部署的open-webui,可以使用docker方式添加环境变量;

下面就是添加通过PIP安装open-webui方式的环境变量;

在/etc/systemd/system/openwebui.service 文件里的Service添加下面一行

EnvironmentFile=/PATH/open-webui/open-webui.env

然后在open-webui.env添加环境变量,可以不用在open-webui 的config.py里修改环境变量(open-webui config.py 有变动);

🌍 Environment Variable Configuration | Open WebUI

Overview


微信扫描下方的二维码阅读本文

相关推荐

暂无评论

目录展开