You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
862 B
45 lines
862 B
version: '3.9'
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile.dev
|
|
ports:
|
|
- "8081:8081"
|
|
environment:
|
|
- DEBUG_MODE=true
|
|
env_file:
|
|
- ../config/development.env
|
|
volumes:
|
|
- ..:/app
|
|
- /app/__pycache__
|
|
depends_on:
|
|
- qdrant
|
|
- postgres
|
|
command: python src/main.py
|
|
|
|
qdrant:
|
|
image: qdrant/qdrant:v1.7.4
|
|
ports:
|
|
- "6333:6333"
|
|
- "6334:6334"
|
|
environment:
|
|
- QDRANT__SERVICE__API_KEY=qs-8d9f-4j2k-secret-key-99awdawdsdsvvfdfvvfd4v51f6d5
|
|
volumes:
|
|
- qdrant_data:/qdrant/storage
|
|
|
|
postgres:
|
|
image: postgres:15
|
|
environment:
|
|
POSTGRES_USER: ai
|
|
POSTGRES_PASSWORD: ai
|
|
POSTGRES_DB: ai
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
qdrant_data:
|
|
postgres_data:
|