Files
ai.bewerbung/docker-compose.yaml
T

51 lines
1.0 KiB
YAML

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