-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanager-web-pro.yml
58 lines (58 loc) · 1.69 KB
/
manager-web-pro.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
server:
port: ${run_port}
error:
path: /exception/error
eureka:
client:
service-url:
defaultZone : ${eureka_url}
instance:
prefer-ip-address: true
ip-address: ${host_ip}
#spring:
# datasource:
# type: com.zaxxer.hikari.HikariDataSource
# hikari:
# max-lifetime: 1800000
# maximum-pool-size: 20
# read-only: false
# connection-timeout: 30000
# idle-timeout: 600000
# minimum-idle: 10
# driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://db_new:8096/foreign_web?useUnicode=true&characterEncoding=utf-8&useSSL=false
# username: ${db_username}
# password: ${db_password}
datasource:
type: com.zaxxer.hikari.HikariDataSource
write:
driver-class-name: com.mysql.jdbc.Driver
jdbc-url: jdbc:mysql://db:3306/foreign_web?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: ${db_username}
password: ${db_password}
max-lifetime: 1800000
maximum-pool-size: 32
read-only: false
connection-timeout: 30000
idle-timeout: 600000
minimum-idle: 20
read:
driver-class-name: com.mysql.jdbc.Driver
jdbc-url: jdbc:mysql://db_read:3306/foreign_web?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: ${db_username}
password: ${db_password}
max-lifetime: 1800000
maximum-pool-size: 32
read-only: false
connection-timeout: 30000
idle-timeout: 600000
minimum-idle: 20
mybatis:
type-aliases-package: com.hoolai.access.foreign.manager.web.dao.mybatis.vo
mapper-locations: classpath:com/hoolai/access/foreign/manager/web/dao/mybatis/mapper/*Mapper.xml
oauth:
suffix:
open: /login,/registe
logging:
level: info
config: classpath:logback-spring.xml