azat-co / mongoui

MongoDB admin UI server written in Node.js 🎮
MIT License
585 stars 132 forks source link

Enhance: using config file that can be updated with environment varia… #47

Closed formula1 closed 7 years ago

formula1 commented 7 years ago

I wanted to use this in a docker example recently. However, I was exposing the port at 8080 and realized that your requests were still going to 3001. While I don't want to break anything within your system, I figured being able to modify things. The most important of the changes I needed where DEP_DB_HOST and PUB_API_PORT, though I'm sure PUB_API_HOST would come in handy if I ever chose to make it public

azat-co commented 7 years ago

@formula1 i merged. sorry for the delay. thanks!