-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprovider-report-pro.yml
81 lines (81 loc) · 2.16 KB
/
provider-report-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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
server:
port: ${run_port}
eureka:
client:
service-url:
defaultZone : ${eureka_url}
instance:
prefer-ip-address: true
ip-address: ${host_ip}
spring:
task:
pool:
corePoolSize: 10
maxPoolSize: 20
keepAliveSeconds: 300
queueCapacity: 1000
# datasource:
# type: com.zaxxer.hikari.HikariDataSource
# hikari:
# max-lifetime: 1800000
# maximum-pool-size: 32
# read-only: false
# connection-timeout: 30000
# idle-timeout: 600000
# minimum-idle: 5
# driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://db:3306/foreign_report?useUnicode=true&characterEncoding=utf-8&useSSL=false
# username: ${db_username}
# password: ${db_password}
# time-between-eviction-runs-millis: 300000
# num-tests-per-eviction-run: 3
# min-evictable-idle-time-millis: 3600000
# cloud:
# stream:
# kafka:
# binder:
# brokers: ${kafka_brokers}
# zk-nodes: ${zookeeper_connect}
# auto-add-partitions: true
# auto-create-topics: true
# min-partition-count: 1
# bindings:
# log:
# destination: gamecollection
# producer:
# partitionCount: 1
zipkin:
base-url: http://zipkin-server:${zipkin_port}
datasource:
type: com.zaxxer.hikari.HikariDataSource
write:
driver-class-name: com.mysql.jdbc.Driver
jdbc-url: jdbc:mysql://db:3306/foreign_report?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_report?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
logging:
level: info
config: classpath:logback-spring.xml
report:
configs:
bi:
id: 300
path: /var/bi
service.host.ip: ${host_ip}