1
0

Мелочи по скриптам

This commit is contained in:
2025-08-18 00:42:47 +08:00
parent 8c121efe1a
commit cf8c0cbc66
4 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
{ {
"recommendations": [ "recommendations": [
"saoudrizwan.claude-dev",
"nr-codetools.localaipilot", "nr-codetools.localaipilot",
"continue.continue" "continue.continue"
] ]

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
# https://ollama.com/library/llama3.2/tags # https://ollama.com/library/llama3.2/tags
docker exec -it ai-ollama ollama run llama3.2:1b --verbose docker exec -it ai-ollama ollama run llama3.2:3b --verbose

View File

@@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
docker exec -it ai-ollama bash docker exec -it ai-ollama ollama "$@"

4
run.sh
View File

@@ -2,19 +2,19 @@
docker run \ docker run \
--pull=always \ --pull=always \
--rm \
--detach \ --detach \
--volume ./.data/ollama:/root/.ollama \ --volume ./.data/ollama:/root/.ollama \
--publish 11434:11434 \ --publish 11434:11434 \
--restart unless-stopped \
--name ai-ollama \ --name ai-ollama \
ollama/ollama ollama/ollama
docker run \ docker run \
--pull=always \ --pull=always \
--rm \
--detach \ --detach \
--volume ./.data/webui:/app/backend/data \ --volume ./.data/webui:/app/backend/data \
--publish 9999:8080 \ --publish 9999:8080 \
--restart unless-stopped \
--add-host=host.docker.internal:host-gateway \ --add-host=host.docker.internal:host-gateway \
--name ai-webui \ --name ai-webui \
ghcr.io/open-webui/open-webui:main ghcr.io/open-webui/open-webui:main