Merge pull request #2123 from nextcloud/enh/noid/imaginary-prevent-memory-issues

imaginary - try to prevent possible memory issues
This commit is contained in:
Simon L 2023-03-08 14:52:59 +01:00 committed by GitHub
commit f51029270b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,3 +24,6 @@ ENTRYPOINT ["/usr/local/bin/imaginary", "-return-size", "-max-allowed-resolution
HEALTHCHECK CMD nc -z localhost 9000 || exit 1
LABEL com.centurylinklabs.watchtower.monitor-only="true"
# https://github.com/h2non/imaginary#memory-issues
ENV MALLOC_ARENA_MAX=2