Browse Source

doc: troubleshooting command update

Timothy J. Baek 1 year ago
parent
commit
eb171553fd
2 changed files with 2 additions and 1 deletions
  1. 1 1
      TROUBLESHOOTING.md
  2. 1 0
      src/lib/components/layout/Sidebar.svelte

+ 1 - 1
TROUBLESHOOTING.md

@@ -7,7 +7,7 @@ If you're running ollama-webui and have chosen to install webui and ollama separ
 Here's an example of the command you should run:
 
 ```bash
-docker run -d --network=host -e OLLAMA_API_BASE_URL=http://127.0.0.1:11434/api --name ollama-webui --restart always ghcr.io/ollama-webui/ollama-webui:main
+docker run -d --network=host -v ollama-webui:/app/backend/data -e OLLAMA_API_BASE_URL=http://127.0.0.1:11434/api --name ollama-webui --restart always ghcr.io/ollama-webui/ollama-webui:main
 ```
 
 ## Connection Errors

+ 1 - 0
src/lib/components/layout/Sidebar.svelte

@@ -431,6 +431,7 @@
 									class="flex py-2.5 px-3.5 w-full hover:bg-gray-800 transition"
 									on:click={async () => {
 										await showSettings.set(true);
+										showDropdown = false;
 									}}
 								>
 									<div class=" self-center mr-3">