1
0

Initial commit

This commit is contained in:
2025-05-24 10:51:09 +08:00
commit e0aeb9f8bc
11 changed files with 74 additions and 0 deletions

22
run_ollama.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/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