修正redis配置
This commit is contained in:
parent
389ff3372e
commit
c99e56c682
|
@ -5,13 +5,14 @@ spring:
|
|||
url: jdbc:mysql://${MYSQL_HOST:172.17.0.1}:${MYSQL_PORT:3306}/gas_well_watch?characterEncoding=UTF-8&useUnicode=true&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
username: ${MYSQL_USERNAME:root}
|
||||
password: ${MYSQL_USERNAME:@Root123}
|
||||
redis:
|
||||
host: ${REDIS_HOST:172.17.0.1}
|
||||
port: ${REDIS_PORT:6379}
|
||||
database: ${REDIS_DATABASE:1}
|
||||
rabbitmq:
|
||||
host: ${RABBIT_MQ_HOST:172.17.0.1}
|
||||
port: ${RABBIT_MQ_PORT:5672}
|
||||
username: ${RABBIT_MQ_USERNAME:huaxia}
|
||||
password: ${RABBIT_MQ_PASSWORD:huaxia@2024}
|
||||
virtual-host: /gas
|
||||
data:
|
||||
redis:
|
||||
host: ${REDIS_HOST:172.17.0.1}
|
||||
port: ${REDIS_PORT:6379}
|
||||
database: ${REDIS_DATABASE:1}
|
||||
|
|
|
@ -7,6 +7,7 @@ spring:
|
|||
max-request-size: 200MB #指定为100MB -1无限制
|
||||
profiles:
|
||||
active: dev
|
||||
data:
|
||||
redis:
|
||||
host: ${REDIS_HOST:localhost}
|
||||
port: ${REDIS_PORT:6379}
|
||||
|
|
Loading…
Reference in New Issue