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

Create first admin user with environment variables at deploy time #9204

Open
lazyest opened this issue Dec 23, 2024 · 4 comments
Open

Create first admin user with environment variables at deploy time #9204

lazyest opened this issue Dec 23, 2024 · 4 comments

Comments

@lazyest
Copy link

lazyest commented Dec 23, 2024

Scope & Context

At initial deployment phase there is no clear way to create admin user

Current behavior

Currently as far as I see there is no way to create new user except of WebUI

Expected behavior

Will be useful to have a kind of variables AUTH_USER/AUTH_PASSWORD to create first user in deploy time. Alternatively if there is a CLI way to do exactly same things, please mention it in documentation more dedicated. Thanks

@BOHEUS
Copy link
Contributor

BOHEUS commented Dec 23, 2024

At deployment, there is a default user with credentials [email protected]/Applecar2025 which are present in documentation but also pre-filled (assuming SIGN_IN_PREFILLED=true is present in .env file)

@lazyest
Copy link
Author

lazyest commented Dec 24, 2024

this is better then nothing but maybe there is a way to do exactly new user as declared in environment? Or at least to plan it doing this way

@BOHEUS
Copy link
Contributor

BOHEUS commented Dec 24, 2024

I don't know about the way to overwrite first user credentials nor do I know about the plans to make it

@lazyest
Copy link
Author

lazyest commented Dec 24, 2024

btw SIGN_IN_PREFILLED=true didnt work for me, its anyhow asking for creating new user
tried both setting it in env and directly in docker-compose for server container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants