refactor: remove ollama and open-webui, keep only postgres and rag-api

This commit is contained in:
2026-02-27 10:11:42 +00:00
parent f6b05c6f98
commit d650cffec8
+20 -20
View File
@@ -12,27 +12,27 @@ services:
ports:
- "127.0.0.1:5432:5432"
ollama:
image: ollama/ollama:latest
container_name: ollama
restart: unless-stopped
volumes:
- ./ollama:/root/.ollama
ports:
- "127.0.0.1:11434:11434"
# ollama:
# image: ollama/ollama:latest
# container_name: ollama
# restart: unless-stopped
# volumes:
# - ./ollama:/root/.ollama
# ports:
# - "127.0.0.1:11434:11434"
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
restart: unless-stopped
depends_on:
- ollama
environment:
- OLLAMA_BASE_URL=http://ollama:11434
volumes:
- ./open-webui:/app/backend/data
ports:
- "127.0.0.1:3000:8080"
# open-webui:
# image: ghcr.io/open-webui/open-webui:main
# container_name: open-webui
# restart: unless-stopped
# depends_on:
# - ollama
# environment:
# - OLLAMA_BASE_URL=http://ollama:11434
# volumes:
# - ./open-webui:/app/backend/data
# ports:
# - "127.0.0.1:3000:8080"
rag-api:
build: ./rag-api