官术网_书友最值得收藏!

Config

The third factor is related to the configuration of the application. The application must have its configuration externalized, not shipped with the application itself. Shipping the configuration with the application requires altering the application bundle from environment to environment, breaking the integrity of the artifact.

To be completely agnostic from the environment, the configuration parameter must reside in the environment variables. In addition to environment variables, there are tools that provide better configuration distribution, such as Consul and Vault (security-related settings, such as passwords).

Long story short, have a separation of configuration from the code.

主站蜘蛛池模板: 南雄市| 新宁县| 阿坝县| 廉江市| 富平县| 龙岩市| 平泉县| 板桥市| 高邮市| 卫辉市| 攀枝花市| 自治县| 青铜峡市| 张北县| 泰宁县| 奎屯市| 册亨县| 奎屯市| 仙游县| 黎川县| 分宜县| 丰顺县| 池州市| 松滋市| 宝丰县| 文登市| 锡林郭勒盟| 新泰市| 英山县| 泰和县| 常宁市| 新化县| 辉县市| 城步| 洪泽县| 札达县| 留坝县| 兖州市| 分宜县| 尚义县| 和平区|