shijinkui opened a new issue #1750:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1750


   external_conf.properties
   ```
   app_name=xxxx
   ```
   再microservice.yaml里include external_conf.properties,替换yaml中的变量占位符。
   
   ```
   !include external_conf.properties
   APPLICATION_ID: ${app_name}
   service_description:
     name: fooService
     version: 0.0.1
   
   servicecomb:
     rest:
       address: 0.0.0.0:8080
   ```
   
   这样能够很容易做dev/prod环境配置。如果多环境直接操作yaml,就要维护本地开环境的配置yaml和yaml.tmpl模板。
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to