S3 primary storage and local disk use

Nextcloud version: 21.0.2
Operating system and version: Official nextcloud docker image
Web server: Caddy 2.4.3


Is there a setting somewhere for controlling how much nextcloud uses local disk space for caching and whatnot when using S3 bucket as primary storage? The documentation (and forum) mentions nothing about this (either that or I just missed it).