Переложил и добавил модели по папкам, обновил README
This commit is contained in:
24
run.sh
Executable file
24
run.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run \
|
||||
--detach \
|
||||
--volume ./ollama-data:/root/.ollama \
|
||||
--publish 11434:11434 \
|
||||
--restart unless-stopped \
|
||||
--name ai-ollama \
|
||||
ollama/ollama
|
||||
|
||||
docker run \
|
||||
--detach \
|
||||
--volume ./webui:/app/backend/data \
|
||||
--publish 9999:8080 \
|
||||
--restart unless-stopped \
|
||||
--add-host=host.docker.internal:host-gateway \
|
||||
--name ai-webui \
|
||||
ghcr.io/open-webui/open-webui:main
|
||||
|
||||
echo
|
||||
echo "Ready, opening http://localhost:9999/"
|
||||
echo
|
||||
|
||||
open http://localhost:9999/
|
||||
Reference in New Issue
Block a user