From 19716dd1e16fdd846dc6e78147b485bc143c74cc Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Sun, 25 May 2025 15:13:45 +0800 Subject: [PATCH] .data --- .data/.gitkeep | 0 .gitignore | 5 +++-- run.sh | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .data/.gitkeep diff --git a/.data/.gitkeep b/.data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/.gitignore b/.gitignore index bc61a74..d7a1aa8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -/ollama-data -/webui +/.data/* + +!.gitkeep diff --git a/run.sh b/run.sh index 686b55a..cbf412d 100755 --- a/run.sh +++ b/run.sh @@ -2,7 +2,7 @@ docker run \ --detach \ - --volume ./ollama-data:/root/.ollama \ + --volume ./.data/ollama:/root/.ollama \ --publish 11434:11434 \ --restart unless-stopped \ --name ai-ollama \ @@ -10,7 +10,7 @@ docker run \ docker run \ --detach \ - --volume ./webui:/app/backend/data \ + --volume ./.data/webui:/app/backend/data \ --publish 9999:8080 \ --restart unless-stopped \ --add-host=host.docker.internal:host-gateway \