diff options
author | Hugues Morisset | 2020-05-09 22:11:17 +0200 |
---|---|---|
committer | GitHub | 2020-05-09 22:11:17 +0200 |
commit | 8ed827679590bb366675b7b5bd29bf49a923a7c5 (patch) | |
tree | 8d0b7f7d07d13d2c0717fa93af3a37602e33f243 | |
parent | 48606bb6fd6ec43eafead9da9b69db9d6d245b7a (diff) | |
download | languagetool-8ed827679590bb366675b7b5bd29bf49a923a7c5.tar.gz |
Update readme.md
Add an example of how to run the image with minimum rights
-rw-r--r-- | readme.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -21,6 +21,18 @@ The Server is running on port 8010, this port should exposed. Or you run it in background via `-d`-option. +Run with no minimum rights and RAM +``` +docker run --name languagetool \ + --cap-drop=ALL \ + --user=65534:65534 \ + --read-only \ + --mount type=bind,src=/tmp/languagetool/tmp,dst=/tmp \ + -p 127.0.0.1:8010:8010 \ + --memory 412m --memory-swap 200m \ + -e EXTRAOPTIONS="-Xmx382M" \ + silviof/docker-languagetool:latest +``` ## ngram support |