A docker container for the JamSpell HTTP API Server
320
A docker container for the JamSpell HTTP API Server.
| Environment Variable | Description | Default Value |
|---|---|---|
| HOST | Bind interface for the server | 0.0.0.0 |
| PORT | Port to expose server on | 8080 |
| DATA_DIR | Directory where models are mounted | /opt/jamspell/data |
| MODEL | Model file to use from DATA_DIR | en.bin |
$ docker run --rm -it -v `pwd`/en.bin:/opt/jamspell/data/en.bin alectolytic/jamspell-server
+ /usr/bin/jamspell-server /opt/jamspell/data/en.bin 0.0.0.0 8080
[info] loading model
[info] starting web server at 0.0.0.0:8080
Content type
Image
Digest
Size
90.8 MB
Last updated
about 8 years ago
docker pull alectolytic/jamspell-server