- via
docker run / command line
- via
docker compose / Compose File
Should significantly cut down on many requests to add additional configuration variables to the image.
E.g.
Optionally, most configuration parameters of Nextcloud otherwise normally specified in thr config.php can be specified (or overriden) using Nextcloud's built-in in - but undocumented and somewhat discouraged officially - support for injecting NC_* config values via the environment. Note this last approach should not be used for any parameters supported by the image already. It's also not well documented or supported upstream.
Refs: