IP地址修改为测试环境内网IP
This commit is contained in:
parent
4bd78af0ff
commit
389ff3372e
|
@ -2,15 +2,15 @@ spring:
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
type: com.alibaba.druid.pool.DruidDataSource
|
||||||
url: jdbc:mysql://${MYSQL_HOST:localhost}:${MYSQL_PORT:3306}/gas_well_watch?characterEncoding=UTF-8&useUnicode=true&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
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}
|
username: ${MYSQL_USERNAME:root}
|
||||||
password: ${MYSQL_USERNAME:@Root123}
|
password: ${MYSQL_USERNAME:@Root123}
|
||||||
redis:
|
redis:
|
||||||
host: ${REDIS_HOST:localhost}
|
host: ${REDIS_HOST:172.17.0.1}
|
||||||
port: ${REDIS_PORT:6379}
|
port: ${REDIS_PORT:6379}
|
||||||
database: ${REDIS_DATABASE:1}
|
database: ${REDIS_DATABASE:1}
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
host: ${RABBIT_MQ_HOST:localhost}
|
host: ${RABBIT_MQ_HOST:172.17.0.1}
|
||||||
port: ${RABBIT_MQ_PORT:5672}
|
port: ${RABBIT_MQ_PORT:5672}
|
||||||
username: ${RABBIT_MQ_USERNAME:huaxia}
|
username: ${RABBIT_MQ_USERNAME:huaxia}
|
||||||
password: ${RABBIT_MQ_PASSWORD:huaxia@2024}
|
password: ${RABBIT_MQ_PASSWORD:huaxia@2024}
|
||||||
|
|
Loading…
Reference in New Issue