bfabiszewski / ulogger-server

μlogger • web viewer for tracks uploaded with μlogger mobile client
GNU General Public License v3.0
538 stars 85 forks source link

Set Admin Password via Environment #88

Closed jojomi closed 5 years ago

jojomi commented 5 years ago

I would like to be able to configure the admin user's password via an environment variable, so it can be done when running inside docker.

What do you think?

bfabiszewski commented 5 years ago

I am only using docker for tests. I have no experience in running production server in docker container, so correct me if I am wrong. Couldn't you just run setup script on first run to make database setup and set password from interactive script? I just pushed a commit I had made some time ago for the purpose of testing which allows to enable setup script with environment variable.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.