Docker images for presidio services, including German language modules
The pre-built image is available on GitHub Container Registry:
docker pull ghcr.io/agentic-layer/presidio:latestAvailable versions can be found at the container registry.
docker run -p 8000:8000 ghcr.io/agentic-layer/presidio:latestThe server starts on http://localhost:8000.
Mount your own config files to override the defaults:
docker run -p 8000:8000 \
-v ./my-conf:/app/conf \
ghcr.io/agentic-layer/presidio:latestOr use environment variables to point to individual config files:
docker run -p 8000:8000 \
-e ANALYZER_CONF_FILE=/app/conf/analyzer.yaml \
-e NLP_CONF_FILE=/app/conf/nlp.yaml \
-e RECOGNIZER_REGISTRY_CONF_FILE=/app/conf/recognizers.yaml \
ghcr.io/agentic-layer/presidio:latestThe container includes a built-in health check on http://localhost:8000/health.
-
Install uv
-
Install dependencies:
uv sync
uv run app.pyThe server starts on http://localhost:8000
The app uses config files from the conf/ directory by default:
conf/analyzer.yaml- supported languages and score thresholdconf/nlp.yaml- spaCy model configuration and NER entity mappingconf/recognizers.yaml- recognizer registry configuration, including custom recognizers
Override with environment variables:
ANALYZER_CONF_FILE- path to analyzer configNLP_CONF_FILE- path to NLP engine configRECOGNIZER_REGISTRY_CONF_FILE- path to recognizer registry config
With the server running locally, execute the end-to-end tests:
bash tests/e2e_test.shTo run against a different host:
bash tests/e2e_test.sh http://localhost:8000