浏览代码

GITBOOK-33: Minor fixes for configuration file page

Roman Zabaluev 2 年之前
父节点
当前提交
dd3731f452
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      configuration/configuration-file.md

+ 2 - 3
configuration/configuration-file.md

@@ -28,9 +28,9 @@ services:
     environment:
       KAFKA_CLUSTERS_0_NAME: local
       # other properties, omitted
-      spring.config.additional-location: /roles.yml
+      spring.config.additional-location: /config.yml
     volumes:
-      - /tmp/roles.yml:/roles.yml
+      - /tmp/config.yml:/config.yml
 ```
 
 **Jar**: `java -Dspring.config.additional-location=<path-to-application-local.yml> -jar <path-to-jar>.jar`
@@ -38,7 +38,6 @@ services:
 #### Basic config structure
 
 ```yaml
-sh
 kafka:
   clusters:
     -