浏览代码

Update run-compose.sh

fix webui port not being effective
jmtatsch 1 年之前
父节点
当前提交
4fe47f43be
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      run-compose.sh

+ 1 - 1
run-compose.sh

@@ -182,7 +182,7 @@ else
         export OLLAMA_DATA_DIR=$data_dir # Set OLLAMA_DATA_DIR environment variable
     fi
     if [[ -n $webui_port ]]; then
-        export OLLAMA_WEBUI_PORT=$webui_port # Set OLLAMA_WEBUI_PORT environment variable
+        export OPEN_WEBUI_PORT=$webui_port # Set OPEN_WEBUI_PORT environment variable
     fi
     DEFAULT_COMPOSE_COMMAND+=" up -d"
     DEFAULT_COMPOSE_COMMAND+=" --remove-orphans"