Docker Image
Detection is multilingual and language-agnostic — one model finds entities
regardless of the language the text is written in, so there are no per-language
image variants.
Quick Start
http://localhost:3000. Open
http://localhost:3000 for the dashboard.
The first start loads the detection model and can take a little longer; the
container reports healthy once both the proxy and the detector are ready.
Detector startup crash in 0.9.3
The 0.9.3 image can terminate the detector withSIGSEGV while importing ONNX
Runtime 1.29.0. Its telemetry initialization fails in the runtime image, which
has no shell. The proxy then reports HTTP 503 from /health.
For an existing 0.9.3 deployment, disable ONNX Runtime telemetry:
pasteguard service and recreate the
container with docker compose up -d --force-recreate pasteguard:
Production Setup
For persistent logs and custom configuration:- Custom config — edit
config.yamlto change detection settings - Persistent logs — request history in
data/pasteguard.dbsurvives restarts - Auto-restart — the container restarts automatically
Languages and phone numbers
Detection is multilingual and needs no per-language configuration. Configurephone_regions only if you need national-format phone numbers without a +
country prefix — see PII Detection Config.
Detector Models
The image includesurchade/gliner_multi_pii-v1 and loads it offline by
default. Custom Hugging Face and local models are documented under
GLiNER.
Environment Variables
Next Steps
Quickstart
Make your first request
Configuration
Customize PasteGuard