Update to 2.4.1

This commit is contained in:
Daniel Berteaud 2024-01-24 23:24:36 +01:00
parent 1986460f59
commit 518934b1f2
4 changed files with 17 additions and 9 deletions

View File

@ -2,7 +2,7 @@
FROM python:3.11-alpine AS builder
ARG PAPERLESS_VERSION=2.4.0
ARG PAPERLESS_VERSION=2.4.1
WORKDIR /opt
@ -115,7 +115,7 @@ RUN set -euxo pipefail &&\
chown paperless:paperless /data /input
COPY root/ /
COPY --from=danielberteaud/alpine:24.1-6 /usr/local/bin/minit /usr/local/bin/minit
COPY --from=danielberteaud/alpine:24.1-8 /usr/local/bin/minit /usr/local/bin/minit
EXPOSE ${PAPERLESS_PORT}
USER paperless

View File

@ -36,6 +36,7 @@ job "paperless" {
}
}
sidecar_task {
resources {
cpu = 50
memory = 64
@ -50,7 +51,7 @@ job "paperless" {
"traefik.enable=true",
"traefik.http.routers.paperless.rule=Host(`paperless.example.org`)",
"traefik.http.routers.paperless.entrypoints=https",
"traefik.http.routers.paperless.middlewares=rate-limit-std@file,inflight-std@file,security-headers@file,hsts@file,compression@file,csp-relaxed@file",
"traefik.http.routers.paperless.middlewares=rate-limit-std@file,inflight-std@file,security-headers@file,hsts@file",
]
}
@ -124,7 +125,7 @@ _EOT
driver = "docker"
config {
image = "danielberteaud/paperless-ngx:2.4.0-1"
image = "danielberteaud/paperless-ngx:2.4.1-1"
readonly_rootfs = true
pids_limit = 200
}
@ -185,6 +186,7 @@ _EOT
destination = "/input"
}
resources {
cpu = 300
memory = 512
@ -201,7 +203,7 @@ _EOT
}
config {
image = "danielberteaud/paperless-ngx:2.4.0-1"
image = "danielberteaud/paperless-ngx:2.4.1-1"
readonly_rootfs = true
pids_limit = 100
}
@ -262,6 +264,7 @@ _EOT
destination = "/input"
}
resources {
cpu = 100
memory = 256
@ -279,7 +282,7 @@ _EOT
}
config {
image = "danielberteaud/paperless-ngx:2.4.0-1"
image = "danielberteaud/paperless-ngx:2.4.1-1"
readonly_rootfs = true
pids_limit = 100
}
@ -340,6 +343,7 @@ _EOT
destination = "/input"
}
resources {
cpu = 100
memory = 200
@ -357,7 +361,7 @@ _EOT
}
config {
image = "danielberteaud/paperless-ngx:2.4.0-1"
image = "danielberteaud/paperless-ngx:2.4.1-1"
readonly_rootfs = true
pids_limit = 300
}
@ -417,6 +421,7 @@ _EOT
destination = "/input"
}
resources {
cpu = 500
memory = 384

View File

@ -2,7 +2,7 @@
FROM python:3.11-alpine AS builder
ARG PAPERLESS_VERSION=2.4.0
ARG PAPERLESS_VERSION=[[ .paperless.version ]]
WORKDIR /opt

View File

@ -5,6 +5,9 @@ instance: paperless
paperless:
# Version to use
version: 2.4.1
# Connect to the postgres service through the mesh
consul:
connect:
@ -44,7 +47,7 @@ paperless:
webserver:
# The Docker image to use
image: '[[ .docker.repo ]]paperless-ngx:2.4.0-1'
image: '[[ .docker.repo ]]paperless-ngx:[[ .paperless.version ]]-1'
# Env vars to set in the container
env: {}