Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abn/jamspell-server-docker
A docker container for the JamSpell HTTP API Server
https://github.com/abn/jamspell-server-docker
Last synced: 7 days ago
JSON representation
A docker container for the JamSpell HTTP API Server
- Host: GitHub
- URL: https://github.com/abn/jamspell-server-docker
- Owner: abn
- License: mit
- Created: 2018-07-21T19:58:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-21T20:52:02.000Z (over 6 years ago)
- Last Synced: 2024-11-18T07:49:58.011Z (about 1 month ago)
- Language: Dockerfile
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JamSpell HTTP API Server Docker Container
A docker container for the [JamSpell HTTP API Server](https://github.com/bakwc/JamSpell#http-api).
## Environment Configuration
| 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` |## Example Usage
```
$ 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
```