Production-ready, multi-arch image for libpostal address parsing with automatic model management.
943
A lightweight, multi-arch Docker image containing the compiled libpostal C library.
The image does not include the 2GB+ model data. Instead, the model is downloaded automatically on first run and stored in /data.
This design keeps the image small and lets you manage models parametrically using environment variables.
amd64 and arm64On the first startup, libpostalβs dataset is automatically downloaded into /data
To avoid re-downloading on every run: To avoid re-downloading on every run:
π‘ Always mount a volume to
/data
Example:
docker run -it \
-v /path/to/folder:/data \
rezaq/libpostal:latest
By default, the libpostal model is used.You can override it with Senzing model which is performing better.
docker run -it \
-e MODEL=senzing \
-v /path/to/folder:/data \
rezaq/libpostal:latest
The startup script detects whether the correct model already exists in /data. If not, it downloads and initializes it automatically.
Content type
Image
Digest
sha256:c593d6a09β¦
Size
40.2 MB
Last updated
10 months ago
docker pull rezaq/libpostal