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