内网开发
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
password: beAs0LHX2GyTxMw4
|
||||
url: jdbc:mysql://43.139.191.204:3306:3306/im-core?serverTimezone=UTC&useSSL=false&characterEncoding=UTF8
|
||||
username: root
|
||||
|
||||
redis:
|
||||
host: 43.139.191.204
|
||||
port: 6379
|
||||
database: 8
|
||||
jedis:
|
||||
pool:
|
||||
max-active: 100
|
||||
max-idle: 100
|
||||
max-wait: 1000
|
||||
min-idle: 10
|
||||
password: dSMIXBQrCBXiHHjk123
|
||||
rabbitmq:
|
||||
host: 119.45.242.222
|
||||
port: 5672
|
||||
addresses: 119.45.242.222
|
||||
username: guest
|
||||
password: guest
|
||||
# virtual-host:
|
||||
listener:
|
||||
simple:
|
||||
concurrency: 5
|
||||
max-concurrency: 10
|
||||
acknowledge-mode: MANUAL
|
||||
prefetch: 1
|
||||
publisher-confirms: true
|
||||
publisher-returns: true
|
||||
template:
|
||||
mandatory: true
|
||||
cache:
|
||||
connection:
|
||||
mode: channel
|
||||
channel:
|
||||
size: 36
|
||||
checkout-timeout: 0
|
||||
|
||||
|
||||
|
||||
# logger 配置
|
||||
logging:
|
||||
config: classpath:logback-spring.xml
|
||||
|
||||
|
||||
mybatis-plus:
|
||||
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
mapper-locations: classpath*:mapper/*.xml
|
||||
global-config:
|
||||
db-config:
|
||||
update-strategy: NOT_EMPTY
|
||||
|
||||
#mybatis:
|
||||
# configuration:
|
||||
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
@@ -1,3 +1,3 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: prod
|
||||
active: dev
|
||||
|
||||
Reference in New Issue
Block a user