luluka #2

Merged
Arxip222 merged 4 commits from luluka into main 2025-12-22 23:39:27 +03:00
2 changed files with 54 additions and 0 deletions
Showing only changes of commit 84556dd220 - Show all commits

54
docker-compose.yml Normal file
View File

@ -0,0 +1,54 @@
services:
postgres:
image: postgres:15-alpine
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: lawyer_ai
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
qdrant:
image: qdrant/qdrant:latest
restart: unless-stopped
ports:
- "6333:6333"
volumes:
- qdrant_data:/qdrant/storage
redis:
image: redis:7-alpine
restart: unless-stopped
ports:
- "6379:6379"
volumes:
- redis_data:/data
backend:
build: ./backend
restart: unless-stopped
environment:
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: lawyer_ai
QDRANT_HOST: qdrant
QDRANT_PORT: 6333
REDIS_HOST: redis
REDIS_PORT: 6379
DEBUG: "true"
ports:
- "8000:8000"
depends_on:
- postgres
- qdrant
- redis
volumes:
postgres_data:
qdrant_data:
redis_data: