Update docker-compose.yml

This commit is contained in:
Nacim
2025-06-16 04:44:01 +02:00
committed by GitHub
parent 8102979169
commit ce4202c102

View File

@@ -1,3 +1,5 @@
version: '3.8'
services: services:
presidio-analyzer: presidio-analyzer:
build: build:
@@ -6,23 +8,15 @@ services:
container_name: presidio-analyzer container_name: presidio-analyzer
restart: unless-stopped restart: unless-stopped
ports: ports:
- "5001" - "5001" # Port corrigé selon la doc Microsoft
environment: environment:
- PRESIDIO_ANALYZER_DEFAULT_LANGUAGE=fr - PRESIDIO_ANALYZER_DEFAULT_LANGUAGE=fr
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5001/health"]
interval: 30s
timeout: 10s
retries: 3
presidio-anonymizer: presidio-anonymizer:
image: mcr.microsoft.com/presidio-anonymizer:latest image: mcr.microsoft.com/presidio-anonymizer:latest
container_name: presidio-anonymizer container_name: presidio-anonymizer
restart: unless-stopped restart: unless-stopped
ports: ports:
- "5002" - "5002" # Port corrigé selon la doc Microsoft
healthcheck: environment:
test: ["CMD", "curl", "-f", "http://localhost:5002/health"] - PRESIDIO_ANONYMIZER_DEFAULT_LANGUAGE=fr
interval: 30s
timeout: 10s
retries: 3