saalfeldlab / render

Render transformed image tiles
GNU General Public License v2.0
34 stars 32 forks source link

modified docker file to allow dynamic mongo configuration of render #48

Closed fcollman closed 7 years ago

fcollman commented 7 years ago

I'm modified the render-ws docker to allow for dynamic configuration of the mongo database parameters via environment variables. The entrypoint now uses sed to reconfigure the render-db.properties file with the MONGO_HOST and MONGO_PORT, which have defaults, and will do the same for authentication if appropriate environment variables are set. (MONGO_USERNAME,MONGO_PASSWORD).

fcollman commented 7 years ago

i have a better more extensive PR