none
What is the best practice for changing configs (web.config, appsettings.json, config.json, etc) in a windows container for multiple environments RRS feed

  • Question

  • What is the best practice for changing configs (web.config, appsettings.json, config.json, etc) in a windows container for multiple environments

    we are using docker windows enterprise and have a 2 node swarm setup.

    we would like to change the appsettings.json, config.json, web.config for the different environments we have.

    DEV, QA, STAGING, PROD, etc.

    Is the best practice to use docker configs?  separate containers for each environment?  

    I was hoping to use the single container image and change out configs for each environment.

    thanks in advance

    Lance

    Friday, May 22, 2020 11:46 PM