How to Install LanguageTool on Your Synology NAS with Docker

Last updated on May 8th, 2023 at 12:34 pm

LanguageTool

Receive tips on how to improve your text (including punctuation advice etc.) while typing an e-mail, a blog post or just a simple tweet. Whatever language you’re using, LanguageTool will automatically detect it and provide suggestions. To respect your privacy, no text is stored by the browser add-on.

Important: This install of LanguageTool will not work with the LanguageTool desktop apps, this will only work in your browser.

Step 1

Before we start, please ensure you have Docker installed. This can be installed through the Synology Package Center.

Step 2

We now need to create the LanguageTool Docker folder. Head into File Station and open the Docker folder. Select Create, choose Create folder and name it languagetool.

Step 3

We now need to download the ngram data zip file. You can find the file here https://languagetool.org/download/ngram-data. For me, I went with the English version; ngrams-en-20150817.zip. Once downloaded, upload the zip file into the languagetool folder we created above.

Step 4

Right click on the zipped file and click into Extract and then select Extract Here. Once Extracted, delete the zip file.

Step 5

We will now head into Control Panel > Task Scheduler > Create > Scheduled Task and click User-defined script. (see demonstration)

Step 6

In the window that appears, insert the following:

In the General tab, In the Task field, enter LanguageTool. From the User list, select root. Uncheck the Enabled option.

In the Schedule tab, Select Run on the following date (make sure It’s today’s date). Now select Do not repeat.

In the Task Settings tab, under Notification, You can choose to turn this on, otherwise skip this. Now copy-paste the following code into the Run command area. Now click OK.

docker run -d --name=languagetool \
-p 8010:8010 \
-e langtool_languageModel=/ngrams \
-e Java_Xms=1g \
-e Java_Xmx=1g \
-v /volume1/docker/languagetool:/ngrams \
--restart always \
--net=host \
erikvl87/languagetool

Step 7

When the below warning appears, press OK.

Step 8

You will now see your list of tasks. Select LanguageTool, now press Run.

Step 9

When asked to run, press Yes.

Step 10

The installation process has now finished. Give it a few seconds to appear in your Docker list.

Step 11

You will now need to add the LanguageTool add-on, you can find the available add-ons here https://languagetool.org.

Once installed, click the Extension icon within your browser and toggle on Picky mode (optional). Now press the settings icon to the bottom right.

Step 12

From the settings menu, scroll down to Advanced settings. Select Other server – requires LanguageTool server running there. Enter http://synologyip:8010:v2. Press Save.

Step 13

Now when you start typing, LanguageTool will help you with your writing and correct any mistakes you may have. Enjoy

Docker Compose and Portainer

If you would prefer to install with Docker Compose or Portainer, use the following code. You can also view a demonstration here.

version: '3.3'
services:
    languagetool:
        container_name: languagetool
        ports:
            - '8010:8010'
        environment:
            - langtool_languageModel=/ngrams
            - Java_Xms=1g
            - Java_Xmx=1g
        volumes:
            - '/volume1/docker/languagetool:/ngrams'
        restart: always
        network_mode: host
        image: erikvl87/languagetool

More Guides:

Actual AdGuard airsonic Audiobookshelf autobrr Bitcoin Calibre-Web ChatpadAI Cleanarr Composerize Crypto DailyTxT Dashy deemix Deluge Emby EmulatorJS Ethereum Euterpe FileBot FilePizza FileZilla Flame Focalboard FreshRSS Grafana Grocy Heimdall Homarr Home Assistant Homebridge Jackett Jellyfin Jellyseerr Joplin Kavita Komga LanguageTool LibreOffice Lidarr Mealie MediaGoblin Medusa Memegen Minecraft Minecraft Bedrock MQTT MusicBrainz MyMediaForAlexa Navidrome Node-RED NZBGet NZBHydra Ombi Overseerr PaperlessNGX Pashword Password Cards Petio Pi-Hole Picard Plex Portainer PostgreSQL Prowlarr PUID & PGID pwndrop Radarr Radicale Readarr ruTorrent SABnzbd SearX Seed Phrase Shiori Sonarr SpeedTest Stash Storm Tailscale TasmoAdmin Tautulli Theia Trilium TubeSync Unpackerr Uptime Kuma Vaultwarden Watchtower WebPDF Whisparr Wordle YouTubeDL


Leave a Comment

Scroll to Top