提交 3dc4d610 编写于 作者: zhouweidong's avatar zhouweidong

docker yml补充sysrun参数

上级 63725f7b
...@@ -27,11 +27,11 @@ services: ...@@ -27,11 +27,11 @@ services:
</#if> </#if>
<#comment>输出微服务平台自定义参数</#comment> <#comment>输出微服务平台自定义参数</#comment>
<#if appPlatform.getUserParamNames()??> <#if appPlatform.getUserParamNames()??>
<@outputUserParam appPlatform.getUserParamNames()/> <@outputUserParam appPlatform appPlatform.getUserParamNames()/>
</#if> </#if>
<#comment>输出应用自定义参数</#comment> <#comment>输出应用自定义参数</#comment>
<#if depApp.getUserParamNames()??> <#if depApp.getUserParamNames()??>
<@outputUserParam depApp.getUserParamNames()/> <@outputUserParam depApp depApp.getUserParamNames()/>
</#if> </#if>
</#if> </#if>
deploy: deploy:
...@@ -44,8 +44,8 @@ networks: ...@@ -44,8 +44,8 @@ networks:
attachable: true attachable: true
<#comment>输出用户自定义参数</#comment> <#comment>输出用户自定义参数</#comment>
<#macro outputUserParam paramList> <#macro outputUserParam paramObj paramList>
<#list paramList as param> <#list paramList as param>
${param?upper_case?replace("[.]","_")?replace("-","")?replace("=",": ")} ${param?upper_case?replace("[.]","_")?replace("-","")}: ${paramObj.getUserParam(param,"")}
</#list> </#list>
</#macro> </#macro>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册