4NK_IA/docker-compose.dev.yml
root 5d8ad901d1 Initial commit: Pipeline notarial complet
- Infrastructure complète de traitement de documents notariaux
- API FastAPI d'ingestion et d'orchestration
- Pipelines Celery pour le traitement asynchrone
- Support des formats PDF, JPEG, PNG, TIFF, HEIC
- OCR avec Tesseract et correction lexicale
- Classification automatique des documents avec Ollama
- Extraction de données structurées
- Indexation dans AnythingLLM et OpenSearch
- Système de vérifications et contrôles métier
- Base de données PostgreSQL pour le métier
- Stockage objet avec MinIO
- Base de données graphe Neo4j
- Recherche plein-texte avec OpenSearch
- Supervision avec Prometheus et Grafana
- Scripts d'installation pour Debian
- Documentation complète
- Tests unitaires et de performance
- Service systemd pour le déploiement
- Scripts de déploiement automatisés
2025-09-08 22:05:22 +02:00

89 lines
1.8 KiB
YAML

version: "3.9"
# Configuration de développement avec volumes montés et debugging
services:
host-api:
build:
context: ./docker/host-api
volumes:
- ./services/host_api:/app
- ./ops/seed:/seed:ro
environment:
- DEBUG=true
- LOG_LEVEL=debug
ports:
- "8000:8000"
command: ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
depends_on:
- postgres
- redis
- minio
worker:
build:
context: ./docker/worker
volumes:
- ./services/worker:/app
- ./ops/seed:/seed:ro
environment:
- DEBUG=true
- LOG_LEVEL=debug
command: ["celery", "-A", "worker", "worker", "--loglevel=debug"]
depends_on:
- host-api
postgres:
image: postgres:16
environment:
POSTGRES_USER: notariat
POSTGRES_PASSWORD: notariat_pwd
POSTGRES_DB: notariat
volumes:
- pgdata_dev:/var/lib/postgresql/data
ports:
- "5432:5432"
redis:
image: redis:7
command: ["redis-server", "--appendonly", "yes"]
volumes:
- redis_dev:/data
ports:
- "6379:6379"
minio:
image: minio/minio:RELEASE.2025-01-13T00-00-00Z
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio_pwd
volumes:
- minio_dev:/data
ports:
- "9000:9000"
- "9001:9001"
ollama:
image: ollama/ollama:latest
volumes:
- ollama_dev:/root/.ollama
ports:
- "11434:11434"
environment:
- OLLAMA_HOST=0.0.0.0
anythingsqlite:
image: kevincharm/anythingllm:latest
environment:
- DISABLE_AUTH=true
ports:
- "3001:3001"
depends_on:
- ollama
volumes:
pgdata_dev:
redis_dev:
minio_dev:
ollama_dev: