A docker-compose
setup to run a local instance from language-tool server in a Firefox extension compatible way.
This repo only exists to document fix to the Erikvl87/docker-languagetool#40 issue.
Follow the excellent documentation at https://github.com/Erikvl87/docker-languagetool
├── docker-compose.yml
├── LICENSE
├── nginx
│ ├── Dockerfile
│ └── nginx.conf
└── README.md
- ngrams are mounted from
\home\<user>\ngrams
. - Mapping for
cors
container to port 8081
- NGINX logs are piped to
stdout
conf | new value |
---|---|
server |
languagetool:8010; |
listen |
8081 |
proxy_pass |
http://language-tools/; |
upstream |
language-tools |
All credits to @Erikvl87 for the docker-languagetool image and to @maximillianfx for the docker-nginx-cors image.