Support setting NEXTCLOUD_AUTH_TOKEN
Allows to set up the nextcloud auth token during install.
Purpose is to make the install smoother by exposing it and have server info and metrics available to verify the status of the install.
As this is only supported in v22 and later, for now a version check is included.
See also: https://github.com/nextcloud/serverinfo/pull/269
@J0WI can you take a look? I saw you were interested in this feature as well. :)
I'd prefer #1260
I agree that there might be additional need for custom scripts, I still feel like exposing a single environment variable like this would help ensuring that it is easy and standardized to work with in helm and other systems.
I've removed the version check since 21 is now gone.
@J0WI since #1260 seems to be stale, any chance to get this merged?
A workaround has been posted in https://github.com/nextcloud/docker/pull/1683#issuecomment-1098268851=
IMHO providing a hook would still be more valuable than adding ENV support for any setting or feature.
Closing in favour of #1964.