myapps: storage: root: /data/workspace/storage siteid: refresh: cache: profile: huoutprod server: port: 8094 servlet: context-path: ${myapps.siteid}/obpm session: timeout: 3600 spring: datasource: url: jdbc:mysql://10.21.203.15:3306/obpm2_security?useUnicode=true&characterEncoding=utf8&useCompression=true&serverTimezone=GMT%2B8&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL username: outhn_security password: Outhn_security#20240320 # 下面为连接池的补充设置,应用到上面所有数据源中 initialSize: 5 minIdle: 5 maxActive: 20 cloud: consul: discovery: enabled: true heartbeat: enabled: true host: 10.21.203.11 port: 9500 redis: host: 10.21.203.12 port: 6379 password: hn@2024 jpa: database: mysql show-sql: false hibernate: ddl-auto: none properties: hibernate: default_schema: logging: config: classpath:log4j2.xml