diff --git a/docs/examples/docker/basic-docker-compose/docker-compose.yml b/docs/examples/docker/basic-docker-compose/docker-compose.yml index 57a9868b..9cfa03e4 100644 --- a/docs/examples/docker/basic-docker-compose/docker-compose.yml +++ b/docs/examples/docker/basic-docker-compose/docker-compose.yml @@ -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"] diff --git a/docs/examples/docker/idp-authelia-traefik/docker-compose.yml b/docs/examples/docker/idp-authelia-traefik/docker-compose.yml index 4d0e53d5..5fe25a15 100644 --- a/docs/examples/docker/idp-authelia-traefik/docker-compose.yml +++ b/docs/examples/docker/idp-authelia-traefik/docker-compose.yml @@ -23,6 +23,9 @@ services: - 'traefik.http.routers.copyparty.tls=true' - 'traefik.http.routers.copyparty.middlewares=authelia@docker' stop_grace_period: 15s # thumbnailer is allowed to continue finishing up for 10s after the shutdown signal + environment: + LD_PRELOAD: /usr/lib/libmimalloc-secure.so.NOPE + # enable mimalloc by replacing "NOPE" with "2" for a nice speed-boost (will use twice as much ram) authelia: image: authelia/authelia:v4.38.0-beta3 # the config files in the authelia folder use the new syntax diff --git a/docs/examples/docker/idp-authentik-traefik/docker-compose.yml b/docs/examples/docker/idp-authentik-traefik/docker-compose.yml index 2359a69c..b9a6a69b 100644 --- a/docs/examples/docker/idp-authentik-traefik/docker-compose.yml +++ b/docs/examples/docker/idp-authentik-traefik/docker-compose.yml @@ -29,6 +29,9 @@ services: retries: 5 start_period: 15s stop_grace_period: 15s # thumbnailer is allowed to continue finishing up for 10s after the shutdown signal + environment: + LD_PRELOAD: /usr/lib/libmimalloc-secure.so.NOPE + # enable mimalloc by replacing "NOPE" with "2" for a nice speed-boost (will use twice as much ram) traefik: image: traefik:v2.11