Update docker-compose.yml
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user