forked from xubinux/xbin-store-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxbin-store-cloud-cart-test.yml
78 lines (71 loc) · 2.47 KB
/
xbin-store-cloud-cart-test.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
# web配置------------------------------------------------------------------------------------------------------------------------------------------------
web:
server:
port: 8106
# service配置------------------------------------------------------------------------------------------------------------------------------------------------
service:
server:
port: 8517
druid:
url: jdbc:mysql://219.230.50.73:3306/xbin_store?characterEncoding=utf-8
driver-class: com.mysql.jdbc.Driver
username: root
password: OZo+t9QET+ctzd5Esn9q0GJP5hXtWWIKEsX8c4/w6z4C4AnxrwpvySNgBS89XdazOavjXXZp0oeZtQ3P9lLGEA==
initial-size: 1
min-idle: 1
max-active: 20
test-on-borrow: true
max-wait: 60000
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
validation-query: SELECT 1 FROM DUAL
test-While-Idle: true
test-on-return: false
pool-prepared-statements: false
max-pool-prepared-statement-per-connection-size: 20
filters: stat,wall,log4j,config
connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000;config.decrypt=true
monitor:
enabled: false
druid-stat-view: /druid/*
druid-web-stat-filter: /*
allow: 219.230.50.107,127.0.0.1
deny: 192.168.1.73
login-username: admin
login-password: 123456
exclusions: '*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*'
reset-enable: false
mybatis:
type-aliases-package: cn.binux.pojo
mapper-locations: classpath:mapper/*.xml
# 公用配置------------------------------------------------------------------------------------------------------------------------------------------------
spring:
zipkin:
base-url: http://127.0.0.1:8504
rabbitmq:
host: localhost
port: 5672
username: guest
password: guest
# Redis
redisKey:
# 缓存时间 默认半小时
expire_time: 1800
prefix:
# 购物车
cart_info_profix: 'CART_INFO:'
# 商品
item_info_profix: 'ITEM_INFO:'
item_info_base_suffix: ':BASE'
item_info_desc_suffix: ':DESC'
# Redis 缓存时间 默认3天
redis_cart_expire_time: 259200
# 用户登录信息前缀
user_session: 'USER_SESSION:'
# REDIS (RedisProperties)
redis:
cluster: false
single-host: 219.230.50.94
single-port: 6379
password:
# ------------------------------------------------------------------------------------------------------------------------------------------------