.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
|
||||
/webui
|
||||
/.data/*
|
||||
|
||||
!.gitkeep
|
||||
|
||||
4
run.sh
4
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 \
|
||||
|
||||
Reference in New Issue
Block a user