commit
7a4282a971
@ -0,0 +1,104 @@
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
type: com.zaxxer.hikari.HikariDataSource
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://mysql的ip:3306/aurora?serverTimezone=Asia/Shanghai&allowMultiQueries=true
|
||||
username: 账号
|
||||
password: 密码
|
||||
hikari:
|
||||
minimum-idle: 10
|
||||
idle-timeout: 180000
|
||||
maximum-pool-size: 100
|
||||
auto-commit: true
|
||||
pool-name: MyHikariCP
|
||||
max-lifetime: 60000
|
||||
connection-timeout: 30000
|
||||
connection-test-query: SELECT 1
|
||||
|
||||
redis:
|
||||
host: redis的ip
|
||||
port: 6379
|
||||
password: 密码
|
||||
database: 0
|
||||
lettuce:
|
||||
pool:
|
||||
min-idle: 10
|
||||
max-idle: 100
|
||||
max-active: 100
|
||||
max-wait: 10000
|
||||
|
||||
rabbitmq:
|
||||
host: rabbitmq的ip
|
||||
port: 5672
|
||||
username: 账号
|
||||
password: 密码
|
||||
listener:
|
||||
simple:
|
||||
retry:
|
||||
enabled: true
|
||||
max-attempts: 3
|
||||
initial-interval: 3000
|
||||
|
||||
elasticsearch:
|
||||
rest:
|
||||
uris: es的ip:9200
|
||||
|
||||
mail:
|
||||
host: smtp.163.com
|
||||
username: 邮箱
|
||||
password: 密码
|
||||
default-encoding: UTF-8
|
||||
protocol: smtp
|
||||
port: 465
|
||||
properties:
|
||||
mail:
|
||||
smtp:
|
||||
auth: true
|
||||
socketFactory:
|
||||
class: javax.net.ssl.SSLSocketFactory
|
||||
port: 465
|
||||
ssl:
|
||||
enable: true
|
||||
starttls:
|
||||
enable: true
|
||||
required: true
|
||||
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 100MB
|
||||
max-request-size: 100MB
|
||||
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath:mapper/*.xml
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
map-underscore-to-camel-case: true
|
||||
|
||||
search:
|
||||
mode: elasticsearch
|
||||
|
||||
upload:
|
||||
mode: oss
|
||||
oss:
|
||||
url: http://Bucket域名/
|
||||
endpoint: OSS配置endpoint
|
||||
accessKeyId: OSS配置accessKeyId
|
||||
accessKeySecret: OSS配置accessKeySecret
|
||||
bucketName: OSS配置bucketName
|
||||
minio:
|
||||
url: http://minio的ip:9000/
|
||||
endpoint: http://minio的ip:9000
|
||||
accesskey: 用户名
|
||||
secretKey: 密码
|
||||
bucketName: 桶的名称
|
||||
|
||||
website:
|
||||
url: https://前台域名
|
||||
|
||||
qq:
|
||||
app-id: QQ APPID
|
||||
check-token-url: https://graph.qq.com/oauth2.0/me?access_token={access_token}
|
||||
user-info-url: https://graph.qq.com/user/get_user_info?openid={openid}&access_token={access_token}&oauth_consumer_key={oauth_consumer_key}
|
||||
@ -1,104 +1,5 @@
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
type: com.zaxxer.hikari.HikariDataSource
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://mysql的ip:3306/aurora?serverTimezone=Asia/Shanghai&allowMultiQueries=true
|
||||
username: 账号
|
||||
password: 密码
|
||||
hikari:
|
||||
minimum-idle: 10
|
||||
idle-timeout: 180000
|
||||
maximum-pool-size: 100
|
||||
auto-commit: true
|
||||
pool-name: MyHikariCP
|
||||
max-lifetime: 60000
|
||||
connection-timeout: 30000
|
||||
connection-test-query: SELECT 1
|
||||
|
||||
redis:
|
||||
host: redis的ip
|
||||
port: 6379
|
||||
password: 密码
|
||||
database: 0
|
||||
lettuce:
|
||||
pool:
|
||||
min-idle: 10
|
||||
max-idle: 100
|
||||
max-active: 100
|
||||
max-wait: 10000
|
||||
|
||||
rabbitmq:
|
||||
host: rabbitmq的ip
|
||||
port: 5672
|
||||
username: 账号
|
||||
password: 密码
|
||||
listener:
|
||||
simple:
|
||||
retry:
|
||||
enabled: true
|
||||
max-attempts: 3
|
||||
initial-interval: 3000
|
||||
|
||||
elasticsearch:
|
||||
rest:
|
||||
uris: es的ip:9200
|
||||
|
||||
mail:
|
||||
host: smtp.163.com
|
||||
username: 邮箱
|
||||
password: 密码
|
||||
default-encoding: UTF-8
|
||||
protocol: smtp
|
||||
port: 465
|
||||
properties:
|
||||
mail:
|
||||
smtp:
|
||||
auth: true
|
||||
socketFactory:
|
||||
class: javax.net.ssl.SSLSocketFactory
|
||||
port: 465
|
||||
ssl:
|
||||
enable: true
|
||||
starttls:
|
||||
enable: true
|
||||
required: true
|
||||
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 100MB
|
||||
max-request-size: 100MB
|
||||
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath:mapper/*.xml
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
map-underscore-to-camel-case: true
|
||||
|
||||
search:
|
||||
mode: elasticsearch
|
||||
|
||||
upload:
|
||||
mode: oss
|
||||
oss:
|
||||
url: http://Bucket域名/
|
||||
endpoint: OSS配置endpoint
|
||||
accessKeyId: OSS配置accessKeyId
|
||||
accessKeySecret: OSS配置accessKeySecret
|
||||
bucketName: OSS配置bucketName
|
||||
minio:
|
||||
url: http://minio的ip:9000/
|
||||
endpoint: http://minio的ip:9000
|
||||
accesskey: 用户名
|
||||
secretKey: 密码
|
||||
bucketName: 桶的名称
|
||||
|
||||
website:
|
||||
url: https://前台域名
|
||||
|
||||
qq:
|
||||
app-id: QQ APPID
|
||||
check-token-url: https://graph.qq.com/oauth2.0/me?access_token={access_token}
|
||||
user-info-url: https://graph.qq.com/user/get_user_info?openid={openid}&access_token={access_token}&oauth_consumer_key={oauth_consumer_key}
|
||||
application:
|
||||
name: aurora-springboot
|
||||
profiles:
|
||||
active: dev
|
||||
|
||||
Loading…
Reference in new issue