# Self-host LanguageTool

> 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.

- Page: https://levelrail.com/templates/languagetool/
- JSON: https://levelrail.com/templates/languagetool.json
- Category: Productivity
- Licence: LGPL-2.1-or-later (Copyleft license)
- Source: https://github.com/languagetool-org/languagetool
- Upstream docs: https://dev.languagetool.org/http-server

## Requirements
- Memory: about 1 GiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 6.8

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| languagetool | erikvl87/languagetool | 6.8 | 8010 | ngrams -> /ngrams |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| languagetool | Java_Xms | preset |
| languagetool | Java_Xmx | preset |

## Deploy

### CLI

```bash
levelrail-cli templates deploy languagetool --name my-languagetool
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/languagetool/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### 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.

Self-host LanguageTool, LanguageTool docker compose file, deploy LanguageTool on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
