I’ve got a windows application that has some configuration parameters and I wish to execute inside a docker container (Windows server).
My application loads some DB data, listening port and so on, from a .ini file that’s placed in the installation folder of the application.
The idea is to distribute to the customers the docker image so that we’ve to perform the less activity possible on installation.
I was wondering which is the best approach to modify that data. Should I pass them as ENV variables (DB, username, password), or it’s best to build for each customer a docker image just filled with those data?
Have some of you just covered such a scenario?
If I set those from docker run, I’ve to edit the .ini file when the container starts (ENTRYPOINT), is this ok?
Thanks in advance