Ajouter lango/install/docker.compose.yaml

This commit is contained in:
cedric 2026-01-18 13:47:42 +00:00
parent 839587dbe0
commit 4be48cbcde

View file

@ -0,0 +1,35 @@
services:
languagetool:
image: meyay/languagetool:latest
container_name: languagetool
restart: unless-stopped
read_only: true
tmpfs:
- /tmp:exec
cap_drop:
- ALL
cap_add:
- CAP_CHOWN
- CAP_DAC_OVERRIDE
- CAP_SETUID
- CAP_SETGID
security_opt:
- no-new-privileges
ports:
- 8909:8081
environment:
download_ngrams_for_langs: en,fr
MAP_UID: 783
MAP_GID: 783
volumes:
- ./ngrams:/ngrams
- ./fasttext:/fasttext
lango:
image: kiriharu/lango:latest
environment:
VITE_LANGUAGETOOL_API_URL: http://192.168.1.10:8909/v2
ports:
- "8808:3000"
restart: unless-stopped