.data
This commit is contained in:
0
.data/.gitkeep
Normal file
0
.data/.gitkeep
Normal file
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
/ollama-data
|
/.data/*
|
||||||
/webui
|
|
||||||
|
!.gitkeep
|
||||||
|
|||||||
4
run.sh
4
run.sh
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
--detach \
|
--detach \
|
||||||
--volume ./ollama-data:/root/.ollama \
|
--volume ./.data/ollama:/root/.ollama \
|
||||||
--publish 11434:11434 \
|
--publish 11434:11434 \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
--name ai-ollama \
|
--name ai-ollama \
|
||||||
@@ -10,7 +10,7 @@ docker run \
|
|||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
--detach \
|
--detach \
|
||||||
--volume ./webui:/app/backend/data \
|
--volume ./.data/webui:/app/backend/data \
|
||||||
--publish 9999:8080 \
|
--publish 9999:8080 \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
--add-host=host.docker.internal:host-gateway \
|
--add-host=host.docker.internal:host-gateway \
|
||||||
|
|||||||
Reference in New Issue
Block a user