Update docker-compose.yml
This commit is contained in:
@@ -6,12 +6,10 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile.analyzer
|
dockerfile: Dockerfile.analyzer
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# LA PARTIE LA PLUS IMPORTANTE DE TOUT LE PROJET :
|
# LA LIGNE QUI FORCE LA CONFIGURATION :
|
||||||
# On monte notre dossier de configuration local directement dans le conteneur.
|
# On dit au script de démarrage de Presidio d'utiliser NOTRE fichier.
|
||||||
# Cela garantit que Presidio utilise NOS fichiers, pas les siens.
|
environment:
|
||||||
volumes:
|
- PRESIDIO_CONF_FILE=/app/presidio_config/config.yaml
|
||||||
- ./presidio_config:/usr/local/lib/python3.9/site-packages/presidio_analyzer/conf
|
|
||||||
- ./presidio_config:/app/presidio_config # On le monte aussi ici pour l'import python
|
|
||||||
|
|
||||||
presidio-anonymizer:
|
presidio-anonymizer:
|
||||||
image: mcr.microsoft.com/presidio-anonymizer:latest
|
image: mcr.microsoft.com/presidio-anonymizer:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user