Admin user and disable auth environment vars at startup #7
Replies: 3 comments 2 replies
-
Related feature - support for ldap auth. Though this seems more like a single user type application - maybe an env var to accept a password (raw, file, or hash) |
Beta Was this translation helpful? Give feedback.
-
Also, I'd use this for setting up the admin/user for Dockge from within ansible. For example, my portainer install from ansible does this via POST to this end-point, but environment variables in compose.yaml would be fine too. Or if reset-password script could check for environment variables and if present short-circuit prompts for interactive user input, that'd be fine too. |
Beta Was this translation helpful? Give feedback.
-
A pull request in order to handle password : #426 |
Beta Was this translation helpful? Give feedback.
-
After setup it currently is required to create an admin user. As I'm already using third-party authentication by default, I was wondering if it's possible to create environment variables to "Disable auth" (like the "Settings > Security > Advanced" option) and/or create an admin user on startup.
Example
Cool new project 👍
Beta Was this translation helpful? Give feedback.
All reactions