gem / oq-engine

OpenQuake Engine: a software for Seismic Hazard and Risk Analysis
https://github.com/gem/oq-engine/#openquake-engine
GNU Affero General Public License v3.0
377 stars 273 forks source link

Proposal - Can you permit to modify admin password / account / email with env variables for docker image #7756

Closed Mareak closed 2 years ago

Mareak commented 2 years ago

Hello, at Descartes we use the openquake/engine docker image.

It could be very useful for us to deploy the container on the fly with a specific admin username/password/email.

-e ADMIN_LOGIN=${LOGIN} -e ADMIN_PASSWORD=${PWD} -e ADMIN_EMAIL=${EMAIL}

Thanks

vot4anto commented 2 years ago

Hi, To better understand about your proposal, please can you specify how do you use the openquake/engine docker image?

Thanks

vot4anto commented 2 years ago

We introduced the variables: OQ_ADMIN_LOGIN, OQ_ADMIN_PASSWORD, OQ_ADMIN_EMAIL

Those are available on nightly docker image and also on future ltr and latest image