Ignore tesseract's stderr

As it breaks parsing the list of available languages
This commit is contained in:
Daniel Berteaud 2024-06-14 15:20:51 +02:00
parent 6be3b0ccf1
commit 2e2a3bf40a
5 changed files with 13 additions and 7 deletions

View File

@ -0,0 +1,3 @@
#!/bin/sh
exec /usr/bin/tesseract "$@" 2>/dev/null

View File

@ -154,7 +154,7 @@ _EOT
driver = "docker"
config {
image = "danielberteaud/paperless-ngx:2.9.0-1"
image = "danielberteaud/paperless-ngx:2.9.0-2"
image_pull_timeout = "10m"
readonly_rootfs = true
pids_limit = 200
@ -237,7 +237,7 @@ _EOT
}
config {
image = "danielberteaud/paperless-ngx:2.9.0-1"
image = "danielberteaud/paperless-ngx:2.9.0-2"
image_pull_timeout = "10m"
readonly_rootfs = true
pids_limit = 100
@ -311,12 +311,12 @@ _EOT
driver = "docker"
lifecycle {
hook = "prestart"
hook = "poststart"
sidecar = true
}
config {
image = "danielberteaud/paperless-ngx:2.9.0-1"
image = "danielberteaud/paperless-ngx:2.9.0-2"
image_pull_timeout = "10m"
readonly_rootfs = true
pids_limit = 100
@ -395,7 +395,7 @@ _EOT
}
config {
image = "danielberteaud/paperless-ngx:2.9.0-1"
image = "danielberteaud/paperless-ngx:2.9.0-2"
image_pull_timeout = "10m"
readonly_rootfs = true
pids_limit = 300

View File

@ -0,0 +1,3 @@
#!/bin/sh
exec /usr/bin/tesseract "$@" 2>/dev/null

View File

@ -134,7 +134,7 @@ job "[[ .instance ]]" {
driver = "[[ $c.nomad.driver ]]"
lifecycle {
hook = "prestart"
hook = "poststart"
sidecar = true
}

View File

@ -37,7 +37,7 @@ paperless:
webserver:
# The Docker image to use
image: '[[ .docker.repo ]]paperless-ngx:[[ .paperless.version ]]-1'
image: '[[ .docker.repo ]]paperless-ngx:[[ .paperless.version ]]-2'
# Env vars to set in the container
env: {}