Update docker-compose.yml
This commit is contained in:
@@ -8,10 +8,10 @@ services:
|
|||||||
container_name: presidio-analyzer
|
container_name: presidio-analyzer
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "5001"
|
- "3000"
|
||||||
environment:
|
environment:
|
||||||
- PRESIDIO_ANALYZER_DEFAULT_LANGUAGE=fr
|
- PRESIDIO_ANALYZER_DEFAULT_LANGUAGE=fr
|
||||||
# SUPPRIMER toute ligne 'command' qui fait référence à gunicorn
|
- PYTHONPATH=/usr/bin/presidio-analyzer:/app
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -23,7 +23,7 @@ services:
|
|||||||
container_name: presidio-anonymizer
|
container_name: presidio-anonymizer
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "5002"
|
- "3000"
|
||||||
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