-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Expand file tree
/
Copy pathapplication-prod.yml
More file actions
37 lines (34 loc) · 1.19 KB
/
application-prod.yml
File metadata and controls
37 lines (34 loc) · 1.19 KB
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
spring:
datasource:
url: jdbc:mysql://db:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
username: ${DB_USERNAME:reader}
password: ${DB_PASSWORD:123456}
druid:
initial-size: 5 #连接池初始化大小
min-idle: 10 #最小空闲连接数
max-active: 20 #最大连接数
web-stat-filter:
exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" #不统计这些请求数据
stat-view-servlet: #访问监控网页的登录用户名和密码
login-username: druid
login-password: druid
data:
redis:
host: redis # Redis服务器地址
database: 0 # Redis数据库索引(默认为0)
port: 6379 # Redis服务器连接端口
password: # Redis服务器连接密码(默认为空)
timeout: 300ms # 连接超时时间(毫秒)
minio:
endpoint: http://192.168.3.101:9090 #MinIO服务所在地址
bucketName: mall #存储桶名称
accessKey: ${MINIO_ACCESS_KEY:minioadmin} #访问的key
secretKey: ${MINIO_SECRET_KEY:minioadmin} #访问的秘钥
logging:
file:
path: /var/logs
level:
root: info
com.macro.mall: info
logstash:
host: logstash