Update docker-compose.yml

This commit is contained in:
Nacim
2025-06-16 04:03:20 +02:00
committed by GitHub
parent 767d147c72
commit 50e5831071

View File

@@ -2,15 +2,13 @@ version: '3.8'
services: services:
presidio-analyzer: presidio-analyzer:
build: image: mcr.microsoft.com/presidio-analyzer:latest
context: .
dockerfile: Dockerfile.analyzer
container_name: presidio-analyzer container_name: presidio-analyzer
restart: unless-stopped restart: unless-stopped
ports: ports:
- "3000" - "3000"
environment: environment:
- PRESIDIO_ANALYZER_DEFAULT_LANGUAGE=fr - PRESIDIO_ANALYZER_DEFAULT_LANGUAGE=en
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/health"] test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
interval: 30s interval: 30s