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

Support user creation from config #110

Open
t3hmrman opened this Issue Aug 13, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@t3hmrman
Copy link

t3hmrman commented Aug 13, 2018

It would be really nice if I could create one or more users (root/admin) straight from admin. Having to docker exec into a container after it's started to add a user is a bit inconvenient, especially (in my case) for ephemeral fathom instances.

in my mind a low complexity solution might look like adding variables like FATHOM_ROOT_USER_NAME and FATHOM_ROOT_USER_PASSWORD variables and checking for them slightly after startup.

A higher complexity solution might look like changing the .env file to a .toml file and using a [init.users] or [users] section that goes through and makes sure certain users exist, possibly taking a plaintext password (to be encrypted before being put in the DB) or a pre-baked hash.

@dannyvankooten

This comment has been minimized.

Copy link
Collaborator

dannyvankooten commented Aug 25, 2018

Hey @t3hmrman,

Sorry I didn't reply to this just yet, but I think this is a great idea. We'll get something along these lines implemented!

@t3hmrman

This comment has been minimized.

Copy link

t3hmrman commented Aug 27, 2018

Hey @dannyvankooten I don't know quite what it should look like for Fathom (I can't think of many projects that do it really well that I know of), but I do it for my projects! Thanks for considering it

@antonedvard

This comment has been minimized.

Copy link

antonedvard commented Jan 22, 2019

Any updates on this one?
ETA or something?
Really want to include fathom in my docker builds and i'm having big issues with running the script after composing with the original image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment