IP地址修改为测试环境内网IP
This commit is contained in:
parent
d2acd803f3
commit
2acf6d2f7c
|
@ -19,7 +19,7 @@ public class ModbusRtcpApplication implements ApplicationContextAware {
|
||||||
private static final Logger logger = LoggerFactory.getLogger("com.iot.modbus_rtcp.rabbit");
|
private static final Logger logger = LoggerFactory.getLogger("com.iot.modbus_rtcp.rabbit");
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
LicenseValidator.main(args);
|
LicenseValidator.main(null);
|
||||||
SpringApplication.run(ModbusRtcpApplication.class, args);
|
SpringApplication.run(ModbusRtcpApplication.class, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,11 @@ 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}
|
||||||
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