Files
Presidio/docker-compose.yml
2025-06-16 03:51:29 +02:00

35 lines
892 B
YAML

version: '3.8'
services:
presidio-analyzer:
build:
context: .
dockerfile: Dockerfile.analyzer
container_name: presidio-analyzer
restart: unless-stopped
ports:
- "3000"
environment:
- PRESIDIO_ANALYZER_DEFAULT_LANGUAGE=fr
- PYTHONPATH=/usr/bin/presidio-analyzer:/app
- PYTHONUNBUFFERED=1
- LOG_LEVEL=DEBUG
# SUPPRIMER la ligne 'command' - utiliser la commande par défaut
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
interval: 30s
timeout: 10s
retries: 3
presidio-anonymizer:
image: mcr.microsoft.com/presidio-anonymizer:latest
container_name: presidio-anonymizer
restart: unless-stopped
ports:
- "3000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
interval: 30s
timeout: 10s
retries: 3