Update docker-compose.yml
This commit is contained in:
@@ -9,10 +9,11 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "5001"
|
- "5001"
|
||||||
# Forcer l'utilisateur root si nécessaire
|
|
||||||
user: "0:0"
|
|
||||||
environment:
|
environment:
|
||||||
- PRESIDIO_ANALYZER_DEFAULT_LANGUAGE=fr
|
- PRESIDIO_ANALYZER_DEFAULT_LANGUAGE=fr
|
||||||
|
# Spécifier la commande directement pour éviter Poetry
|
||||||
|
command: ["python", "-m", "presidio_analyzer"]
|
||||||
|
working_dir: /usr/bin/presidio-analyzer
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:5001/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:5001/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|||||||
Reference in New Issue
Block a user