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

Automatically create admin account #69

Open
1 task
cjcolvar opened this issue Dec 21, 2022 · 0 comments
Open
1 task

Automatically create admin account #69

cjcolvar opened this issue Dec 21, 2022 · 0 comments

Comments

@cjcolvar
Copy link
Member

cjcolvar commented Dec 21, 2022

Description

For ease of testing an admin account should be automatically created when the avalon service comes up the first time. This could be done based upon the presence of an environment variable and skipped if that variable is not present. For example, the bitnami postgres image does this: https://github.com/bitnami/containers/blob/main/bitnami/postgresql/README.md#creating-a-database-user-on-first-run

Done Criteria

  • Admin account is created upon first run of the Avalon service if none yet exist

Suggested by @zhangyilibecnu

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

No branches or pull requests

1 participant