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

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.

主站蜘蛛池模板: 团风县| 佳木斯市| 东方市| 长春市| 奉新县| 兴宁市| 普宁市| 邹城市| 平潭县| 额尔古纳市| 陕西省| 绥化市| 健康| 龙陵县| 连平县| 肥西县| 介休市| 彭州市| 二连浩特市| 吉木乃县| 封开县| 新民市| 贵港市| 勃利县| 大荔县| 白玉县| 岢岚县| 杨浦区| 股票| 南靖县| 钟山县| 巧家县| 乌拉特后旗| 秭归县| 永城市| 宜良县| 海安县| 罗城| 富裕县| 邹平县| 汨罗市|