Allow task-queue to use up to 512MB of RAM
This commit is contained in:
parent
2bd87ad6e7
commit
33ea13ce1e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -104,6 +104,7 @@ paperless:
|
|||
resources:
|
||||
cpu: 500
|
||||
memory: 384
|
||||
memory_max: 512
|
||||
|
||||
# Volumes for data persistance and exchange
|
||||
volumes:
|
||||
|
|
Loading…
Reference in New Issue