mention mimalloc in docker-compose examples (thx thad)

This commit is contained in:
ed 2025-03-24 23:19:17 +00:00
parent e1dea7ef3e
commit 43bbd566d7
3 changed files with 10 additions and 0 deletions

View file

@ -11,6 +11,10 @@ services:
- ./:/cfg:z
- /path/to/your/fileshare/top/folder:/w:z
# enabling mimalloc by replacing "NOPE" with "2" will make some stuff twice as fast, but everything will use twice as much ram:
environment:
LD_PRELOAD: /usr/lib/libmimalloc-secure.so.NOPE
stop_grace_period: 15s # thumbnailer is allowed to continue finishing up for 10s after the shutdown signal
healthcheck:
test: ["CMD-SHELL", "wget --spider -q 127.0.0.1:3923/?reset"]