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

t3hmrman opened this Issue Aug 13, 2018 · 3 comments


None yet
3 participants
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.


This comment has been minimized.

Copy link

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!


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


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