1
0
This commit is contained in:
2025-05-25 15:13:45 +08:00
parent b90683c445
commit 19716dd1e1
3 changed files with 5 additions and 4 deletions

0
.data/.gitkeep Normal file
View File

5
.gitignore vendored
View File

@@ -1,2 +1,3 @@
/ollama-data
/webui
/.data/*
!.gitkeep

4
run.sh
View File

@@ -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 \