docker icon indicating copy to clipboard operation
docker copied to clipboard

Support setting NEXTCLOUD_AUTH_TOKEN

Open mrueg opened this issue 2 years ago • 6 comments

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

mrueg avatar Dec 08 '21 00:12 mrueg

@J0WI can you take a look? I saw you were interested in this feature as well. :)

mrueg avatar Dec 10 '21 00:12 mrueg

I'd prefer #1260

J0WI avatar Dec 10 '21 09:12 J0WI

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.

mrueg avatar Dec 10 '21 11:12 mrueg

I've removed the version check since 21 is now gone.

mrueg avatar Mar 25 '22 04:03 mrueg

@J0WI since #1260 seems to be stale, any chance to get this merged?

mrueg avatar Mar 29 '22 09:03 mrueg

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.

J0WI avatar Apr 28 '22 17:04 J0WI

Closing in favour of #1964.

J0WI avatar Jun 22 '23 16:06 J0WI