feat: initial RAG stack with README and env example

This commit is contained in:
2026-02-25 14:37:29 +00:00
commit f6b05c6f98
7 changed files with 339 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
services:
postgres:
image: pgvector/pgvector:pg16
container_name: postgres
restart: unless-stopped
environment:
POSTGRES_USER: anythingllm
POSTGRES_PASSWORD: any0203thing78llm
POSTGRES_DB: anythingllm
volumes:
- ./postgres:/var/lib/postgresql/data
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"
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
container_name: rag-api
restart: unless-stopped
depends_on:
- postgres
env_file:
- .env
ports:
- "127.0.0.1:8000:8000"
networks:
default:
name: apply4jobs-network