32 lines
791 B
YAML
32 lines
791 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
presidio-analyzer:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.analyzer
|
|
container_name: presidio-analyzer
|
|
restart: unless-stopped
|
|
ports:
|
|
- "5001"
|
|
environment:
|
|
- PRESIDIO_ANALYZER_DEFAULT_LANGUAGE=fr
|
|
# SUPPRIMER toute ligne 'command' qui fait référence à gunicorn
|
|
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:
|
|
- "5002"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|