{"id":136723,"date":"2020-07-22T02:53:44","date_gmt":"2020-07-21T18:53:44","guid":{"rendered":"http:\/\/4563.org\/?p=136723"},"modified":"2020-07-22T02:53:44","modified_gmt":"2020-07-21T18:53:44","slug":"spring-cloud-config-%e6%9c%8d%e5%8a%a1%e6%80%8e%e4%b9%88%e6%89%8d%e8%83%bd%e5%af%b9-yaml-%e4%b8%ad%e7%9a%84%e5%8f%98%e9%87%8f%e8%bf%9b%e8%a1%8c%e6%9b%bf%e6%8d%a2%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=136723","title":{"rendered":"Spring Cloud Config \u670d\u52a1\u600e\u4e48\u624d\u80fd\u5bf9 yaml \u4e2d\u7684\u53d8\u91cf\u8fdb\u884c\u66ff\u6362\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Spring Cloud Config \u670d\u52a1\u600e\u4e48\u624d\u80fd\u5bf9 yaml \u4e2d\u7684\u53d8\u91cf\u8fdb\u884c\u66ff\u6362\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zealinux <\/span>  <span><i><\/i> 12<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5f53\u524d\u7684\u95ee\u9898\u662f\uff1a<\/p>\n<p>config \u670d\u52a1\u90fd\u662f yaml \u6587\u4ef6\u4e2d\u5199\u4ec0\u4e48\u5c31\u663e\u793a\u4ec0\u4e48\u3002 \u6bd4\u5982\uff1a<\/p>\n<pre><code>spring.redis.password\": \"${REDIS_PASSWORD}\" <\/code><\/pre>\n<p>\u5176\u5b9e\u6211\u60f3\u8981\u7684\u662f<\/p>\n<pre><code>spring.redis.password\": \"\u4ece config \u670d\u52a1\u673a\u5668\u7684\u73af\u5883\u53d8\u91cf REDIS_PASSWORD \u7684\u503c\"  <\/code><\/pre>\n<p>\u662f\u8981\u5728\u54ea\u91cc\u914d\u7f6e\u5417\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>4<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2473517\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangyanrui <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u542f\u52a8\u540e\u81ea\u5df1\u62ff\u5230 Environment set \u4e00\u4e0b\u5457\uff0c\u6216\u8005\u770b\u770b\u5b98\u65b9\u6587\u6863\u6709\u5199\u5982\u4f55\u5b9e\u73b0\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2473518\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Kyle18Tang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3a\u4ec0\u4e48\u914d\u7f6e\u4e2d\u5fc3\u8fd8\u8981\u4ece\u522b\u7684\u5730\u65b9\u8bfb\u53d6\u6570\u636e\uff1f\u57fa\u4e8e\u4ec0\u4e48\u6837\u7684\u76ee\u7684\u5462\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2473519\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zealinux <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Kyle18Tang <br \/>\u4e3b\u8981\u7684\u76ee\u7684\u662f\u7532\u65b9\u9700\u8981\u914d\u7f6e\u7684\u5730\u65b9\u62bd\u79bb\u51fa\u6765\u53d8\u91cf\uff0c\u7edf\u4e00\u914d\u7f6e\u3002<br \/>\uff08\u8fd9\u4e2a\u914d\u7f6e\u4fe1\u606f\u6211\u4eec\u4e0d\u77e5\u9053\uff0c\u4e5f\u4e0d\u8ba9\u6211\u4eec\u77e5\u9053\uff09<br \/>\u5176\u5b9e\u4e5f\u662f\u6211\u4eec\u4e0d\u540c\u73af\u5883\uff08 prd\uff0ctest\uff0cdev \uff09\u9700\u8981\u914d\u7f6e\u7684\u5730\u65b9\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2473520\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xuanbg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u914d\u7f6e\u4e2d\u5fc3\u7684 yml \u6587\u4ef6\u8ba9\u8fd0\u7ef4\u81ea\u5df1\u7ef4\u62a4\u5c31\u597d\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Spring Cloud Conf&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/136723"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=136723"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/136723\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=136723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=136723"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=136723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}