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: ports:
- "127.0.0.1:5432:5432" - "127.0.0.1:5432:5432"
ollama: # ollama:
image: ollama/ollama:latest # image: ollama/ollama:latest
container_name: ollama # container_name: ollama
restart: unless-stopped # restart: unless-stopped
volumes: # volumes:
- ./ollama:/root/.ollama # - ./ollama:/root/.ollama
ports: # ports:
- "127.0.0.1:11434:11434" # - "127.0.0.1:11434:11434"
open-webui: # open-webui:
image: ghcr.io/open-webui/open-webui:main # image: ghcr.io/open-webui/open-webui:main
container_name: open-webui # container_name: open-webui
restart: unless-stopped # restart: unless-stopped
depends_on: # depends_on:
- ollama # - ollama
environment: # environment:
- OLLAMA_BASE_URL=http://ollama:11434 # - OLLAMA_BASE_URL=http://ollama:11434
volumes: # volumes:
- ./open-webui:/app/backend/data # - ./open-webui:/app/backend/data
ports: # ports:
- "127.0.0.1:3000:8080" # - "127.0.0.1:3000:8080"
rag-api: rag-api:
build: ./rag-api build: ./rag-api