This repository hosts a ready-to-use Docker-Compose file for hosting a custom LanguageTool server with custom hunspell dictionary and automatic installation of german (and optionally english) ngrams library.
It also contains a GitHub actions workflow for automatically deploying to AWS Elastic Beanstalk.
- Docker
- Docker Compose
- Clone this repository
- Run
docker-compose up -dto build and start the server
The first start may be slow because the server needs to download the ngrams library (approx. 1.6GiB).
The repository contains a GitHub actions workflow that automatically deploys to AWS Elastic Beanstalk when commits to the main branch are made.
To set up the integration, define these secrets in GitHub Actions:
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYAWS_REGION(e.g. "eu-central-1")EB_APPLICATION_NAME(Application name in AWS Elastic Beanstalk)EB_ENV_NAME(Environment name in AWS Elastic Beanstalk)
It should be enough for your AWS user to have the policies AWSElasticBeanstalkWebTier and AWSElasticBeanstalkManagedUpdatesCustomerRolePolicy attached to be able to deploy your project.
After deploying, the LanguageTool server is accessible at http://example.com/v2/check. For more information on using the API, see the LanguageTool API documentation.