Commit a15ccb058a936e1a94f308a317fe94d3e9313bda
Merge branch 'master' into 'master'
classes服务添加数据源配置 See merge request !1
Showing
1 changed file
with
26 additions
and
0 deletions
class-service.yml
| ... | ... | @@ -7,6 +7,19 @@ spring: |
| 7 | 7 | config: |
| 8 | 8 | discovery: |
| 9 | 9 | enabled: true |
| 10 | + datasource: | |
| 11 | + name: eaas_core | |
| 12 | + url: jdbc:mysql://emysql3:3306/eaas_core?useUnicode=true&characterEncoding=gbk&zeroDateTimeBehavior=convertToNull | |
| 13 | + username: test | |
| 14 | + password: 123456 | |
| 15 | + driver-class-name: com.mysql.jdbc.Driver | |
| 16 | + thymeleaf: | |
| 17 | + prefix: classpath:/templates/ | |
| 18 | + suffix: .html | |
| 19 | + mode: HTML5 | |
| 20 | + encoding: UTF-8 | |
| 21 | + content-type: text/html | |
| 22 | + cache: false | |
| 10 | 23 | |
| 11 | 24 | endpoints: |
| 12 | 25 | restart: |
| ... | ... | @@ -32,6 +45,19 @@ spring: |
| 32 | 45 | config: |
| 33 | 46 | discovery: |
| 34 | 47 | enabled: true |
| 48 | + datasource: | |
| 49 | + name: eaas_core | |
| 50 | + url: jdbc:mysql://emysql3:3306/eaas_core?useUnicode=true&characterEncoding=gbk&zeroDateTimeBehavior=convertToNull | |
| 51 | + username: test | |
| 52 | + password: 123456 | |
| 53 | + driver-class-name: com.mysql.jdbc.Driver | |
| 54 | + thymeleaf: | |
| 55 | + prefix: classpath:/templates/ | |
| 56 | + suffix: .html | |
| 57 | + mode: HTML5 | |
| 58 | + encoding: UTF-8 | |
| 59 | + content-type: text/html | |
| 60 | + cache: false | |
| 35 | 61 | |
| 36 | 62 | endpoints: |
| 37 | 63 | restart: | ... | ... |