Bigger image_pull_timeout

This commit is contained in:
Daniel Berteaud 2024-02-11 23:20:42 +01:00
parent 33ea13ce1e
commit 92bfcf97ca
4 changed files with 39 additions and 26 deletions

View File

@ -2,7 +2,7 @@
FROM python:3.11-alpine AS builder
ARG PAPERLESS_VERSION=2.4.3
ARG PAPERLESS_VERSION=2.5.0
WORKDIR /opt

View File

@ -31,6 +31,7 @@ job "paperless" {
proxy {
upstreams {
destination_name = "postgres"
destination_type = "service"
local_bind_port = 5432
}
}
@ -139,9 +140,10 @@ _EOT
driver = "docker"
config {
image = "danielberteaud/paperless-ngx:2.4.3-1"
readonly_rootfs = true
pids_limit = 200
image = "danielberteaud/paperless-ngx:2.5.0-1"
image_pull_timeout = "10m"
readonly_rootfs = true
pids_limit = 200
}
@ -149,6 +151,7 @@ _EOT
policies = ["paperless"]
env = false
disable_file = true
change_mode = "noop"
}
@ -217,9 +220,10 @@ _EOT
}
config {
image = "danielberteaud/paperless-ngx:2.4.3-1"
readonly_rootfs = true
pids_limit = 100
image = "danielberteaud/paperless-ngx:2.5.0-1"
image_pull_timeout = "10m"
readonly_rootfs = true
pids_limit = 100
}
@ -227,6 +231,7 @@ _EOT
policies = ["paperless"]
env = false
disable_file = true
change_mode = "noop"
}
@ -296,9 +301,10 @@ _EOT
}
config {
image = "danielberteaud/paperless-ngx:2.4.3-1"
readonly_rootfs = true
pids_limit = 100
image = "danielberteaud/paperless-ngx:2.5.0-1"
image_pull_timeout = "10m"
readonly_rootfs = true
pids_limit = 100
}
@ -306,6 +312,7 @@ _EOT
policies = ["paperless"]
env = false
disable_file = true
change_mode = "noop"
}
@ -375,9 +382,10 @@ _EOT
}
config {
image = "danielberteaud/paperless-ngx:2.4.3-1"
readonly_rootfs = true
pids_limit = 300
image = "danielberteaud/paperless-ngx:2.5.0-1"
image_pull_timeout = "10m"
readonly_rootfs = true
pids_limit = 300
}
@ -385,6 +393,7 @@ _EOT
policies = ["paperless"]
env = false
disable_file = true
change_mode = "noop"
}

View File

@ -49,9 +49,10 @@ job "[[ .instance ]]" {
driver = "[[ $c.nomad.driver ]]"
config {
image = "[[ $c.image ]]"
readonly_rootfs = true
pids_limit = 200
image = "[[ $c.image ]]"
image_pull_timeout = "10m"
readonly_rootfs = true
pids_limit = 200
}
[[ template "common/vault.policies" $c ]]
@ -91,9 +92,10 @@ job "[[ .instance ]]" {
}
config {
image = "[[ $c.image ]]"
readonly_rootfs = true
pids_limit = 100
image = "[[ $c.image ]]"
image_pull_timeout = "10m"
readonly_rootfs = true
pids_limit = 100
}
[[ template "common/vault.policies" $c ]]
@ -130,9 +132,10 @@ job "[[ .instance ]]" {
}
config {
image = "[[ $c.image ]]"
readonly_rootfs = true
pids_limit = 100
image = "[[ $c.image ]]"
image_pull_timeout = "10m"
readonly_rootfs = true
pids_limit = 100
}
[[ template "common/vault.policies" $c ]]
@ -168,9 +171,10 @@ job "[[ .instance ]]" {
}
config {
image = "[[ $c.image ]]"
readonly_rootfs = true
pids_limit = 300
image = "[[ $c.image ]]"
image_pull_timeout = "10m"
readonly_rootfs = true
pids_limit = 300
}
[[ template "common/vault.policies" $c ]]

View File

@ -6,7 +6,7 @@ instance: paperless
paperless:
# Version to use
version: 2.4.3
version: 2.5.0
# Connect to the postgres service through the mesh
consul: