This commit is contained in:
2026-06-16 09:19:32 +03:00
parent 7f1516c9c9
commit 8f3ac70b20
43 changed files with 1644 additions and 4668 deletions
+21 -1
View File
@@ -1,4 +1,19 @@
services:
postgres:
image: postgres:16-alpine
environment:
POSTGRES_USER: ${POSTGRES_USER:-assistant}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-assistant}
POSTGRES_DB: ${POSTGRES_DB:-assistant}
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-assistant} -d ${POSTGRES_DB:-assistant}"]
interval: 5s
timeout: 5s
retries: 5
restart: unless-stopped
qdrant:
image: qdrant/qdrant:v1.12.5
ports:
@@ -15,8 +30,12 @@ services:
env_file: .env
environment:
QDRANT_URL: ${QDRANT_URL:-http://qdrant:6333}
DATABASE_URL: postgresql+psycopg2://${POSTGRES_USER:-assistant}:${POSTGRES_PASSWORD:-assistant}@postgres:5432/${POSTGRES_DB:-assistant}
depends_on:
- qdrant
postgres:
condition: service_healthy
qdrant:
condition: service_started
volumes:
- ./data:/app/data
extra_hosts:
@@ -36,4 +55,5 @@ services:
restart: unless-stopped
volumes:
postgres_data:
qdrant_data: