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 \