Allow task-queue to use up to 512MB of RAM

This commit is contained in:
Daniel Berteaud 2024-02-01 10:19:22 +01:00
parent 2bd87ad6e7
commit 33ea13ce1e
3 changed files with 6 additions and 4 deletions

View File

@ -115,7 +115,7 @@ RUN set -euxo pipefail &&\
chown paperless:paperless /data /input
COPY root/ /
COPY --from=danielberteaud/alpine:24.1-8 /usr/local/bin/minit /usr/local/bin/minit
COPY --from=danielberteaud/alpine:24.2-1 /usr/local/bin/minit /usr/local/bin/minit
EXPOSE ${PAPERLESS_PORT}
USER paperless

View File

@ -76,7 +76,7 @@ job "paperless" {
user = 1053
config {
image = "danielberteaud/wait-for:24.1-1"
image = "danielberteaud/wait-for:24.2-1"
readonly_rootfs = true
pids_limit = 20
}
@ -437,8 +437,9 @@ _EOT
resources {
cpu = 500
memory = 384
cpu = 500
memory = 384
memory_max = 512
}
}

View File

@ -104,6 +104,7 @@ paperless:
resources:
cpu: 500
memory: 384
memory_max: 512
# Volumes for data persistance and exchange
volumes: