Self-host LanguageTool with Levelrail
A multilingual grammar, style and spell checking server with an HTTP API at /v2/check. LGPL-2.1 licensed. Runs the community server image in one container without the optional n-gram data. There is no web login, so keep the address private or put it behind an access rule.
- Authorlanguagetool-org
- LicenceLGPL-2.1-or-later
- Memory1 GiB
- Archarm64
- Services1
How to self-host LanguageTool
-
Pull the images
One image is pulled on your server.
Show images
erikvl87/languagetool:6.8
-
Create the app
One service starts in a single Compose app, with 1 named volume mount for your data, on port 8010.
-
Fill in the secrets
2 settings are preset, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
LanguageTool requirements
- Memory
- About 1 GiB
- Architectures
- amd64 image published, arm64 image published
- Ports
- 8010
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- LGPL-2.1-or-later, copyleft license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then LanguageTool. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the LanguageTool docs page.
Deploy LanguageTool your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy LanguageTool from the CLI
levelrail-cli templates deploy languagetool --name my-languagetool Deploy LanguageTool with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/languagetool/deploy LanguageTool configuration
LanguageTool services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| languagetool | erikvl87/languagetool:6.8 | 8010 | ngrams -> /ngrams |
LanguageTool environment variables
| Variable | Service | Value |
|---|---|---|
| Java_Xms | languagetool | Preset by the template |
| Java_Xmx | languagetool | Preset by the template |
Ports and volumes
- Ports
- 8010
- Volumes
- 1 named mount: ngrams -> /ngrams
LanguageTool FAQ
How much memory does LanguageTool need?
The catalog lists about 1 GiB of memory for LanguageTool.
Does LanguageTool run on arm64?
For LanguageTool, an arm64 image is published; amd64 is image published.
What licence is LanguageTool under?
LanguageTool is licensed under LGPL-2.1-or-later, which is copyleft, so changes you distribute must be shared under the same terms.
Does LanguageTool need configuration before it starts?
No. The template fills in its own defaults.
Which ports does LanguageTool use?
LanguageTool listens on port 8010 inside the stack.
Where does LanguageTool keep its data?
In a named volume: ngrams mounted at /ngrams.
Can I deploy LanguageTool on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id languagetool for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image erikvl87/languagetool:6.8 is what you deploy there.