Installation
PasteGuard provides prebuilt Docker images for quick deployment. No build step required.Docker Image
PasteGuard is a single all-in-one container that includes both the proxy and PII detection:| Tag | Languages | Size | Use Case |
|---|---|---|---|
en / latest | English | ~2.7GB | Default, English-only teams |
eu | en, de, es, fr, it, nl, pl, pt, ro | ~12GB | European businesses |
Quick Start
European Languages
For German, Spanish, French, Italian, Dutch, Polish, Portuguese, and Romanian: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 — container restarts automatically
Custom Language Builds
For languages not in prebuilt images (Nordic, Asian, Eastern European), clone and build:Available Languages (24)
| Code | Language | Code | Language |
|---|---|---|---|
en | English | ja | Japanese |
de | German | ko | Korean |
fr | French | zh | Chinese |
es | Spanish | sv | Swedish |
it | Italian | da | Danish |
nl | Dutch | nb | Norwegian |
pt | Portuguese | fi | Finnish |
pl | Polish | el | Greek |
ru | Russian | ro | Romanian |
uk | Ukrainian | hr | Croatian |
ca | Catalan | sl | Slovenian |
lt | Lithuanian | mk | Macedonian |
Environment Variables
Runtime (docker run):| Variable | Default | Description |
|---|---|---|
PASTEGUARD_LANGUAGES | (per image) | Override enabled languages at runtime |
| Variable | Default | Description |
|---|---|---|
PASTEGUARD_TAG | en | Image tag for docker compose |
LANGUAGES | en | Languages to include when building locally |