Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new env for auto configuration via environment variables for ldapUserCleanupInterval #2198

Closed
ederator opened this issue Apr 11, 2024 · 2 comments
Labels

Comments

@ederator
Copy link

Hi all,

there are some env variables for the configuration of config.php
https://hub.docker.com/_/nextcloud "Auto configuration via environment variables" . Would it be possible to use the
https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/user_auth_ldap_cleanup.html setting more precisely the option "ldapUserCleanupInterval" to be controllable via env in the docker env?

@joshtrichards joshtrichards added feature: auto config (environment variables) Auto configuring via environment variables enhancement labels Apr 20, 2024
@joshtrichards
Copy link
Member

joshtrichards commented Apr 20, 2024

You can use post-installation auto-config hooks to run occ commands automatically. This allows you to set any Nextcloud parameter desired at installation time (and, optionally, during some other events):

https://github.com/nextcloud/docker?tab=readme-ov-file#auto-configuration-via-hook-folders

@joshtrichards
Copy link
Member

We'll expand the examples in the docs so it's more obvious. Tracking #2231

@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants