Add languagetool server
This commit is contained in:
parent
57efee14e9
commit
e7f740a2d9
25
services/languagetool.tf
Normal file
25
services/languagetool.tf
Normal file
@ -0,0 +1,25 @@
|
||||
module "languagetool" {
|
||||
source = "./service"
|
||||
|
||||
name = "languagetool"
|
||||
image = "ghcr.io/erikvl87/docker-languagetool/languagetool:4.8"
|
||||
ingress = true
|
||||
service_port = 8010
|
||||
use_wesher = var.use_wesher
|
||||
|
||||
env = {
|
||||
Java_Xmx = "512m"
|
||||
}
|
||||
|
||||
service_check = {
|
||||
path = "/v2/healthcheck"
|
||||
}
|
||||
|
||||
# Possibility to use a volume over nfs to host n-gram datasets
|
||||
# https://github.com/Erikvl87/docker-languagetool/pkgs/container/docker-languagetool%2Flanguagetool#using-n-gram-datasets
|
||||
|
||||
resources = {
|
||||
cpu = 100
|
||||
memory = 512
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user