Ignore tesseract's stderr
As it breaks parsing the list of available languages
This commit is contained in:
parent
6be3b0ccf1
commit
2e2a3bf40a
3
example/images/paperless-ngx/root/usr/local/bin/tesseract
Executable file
3
example/images/paperless-ngx/root/usr/local/bin/tesseract
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec /usr/bin/tesseract "$@" 2>/dev/null
|
@ -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
|
||||
|
3
images/paperless-ngx/root/usr/local/bin/tesseract
Executable file
3
images/paperless-ngx/root/usr/local/bin/tesseract
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec /usr/bin/tesseract "$@" 2>/dev/null
|
@ -134,7 +134,7 @@ job "[[ .instance ]]" {
|
||||
driver = "[[ $c.nomad.driver ]]"
|
||||
|
||||
lifecycle {
|
||||
hook = "prestart"
|
||||
hook = "poststart"
|
||||
sidecar = true
|
||||
}
|
||||
|
||||
|
@ -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: {}
|
||||
|
Loading…
Reference in New Issue
Block a user