IP地址修改为测试环境内网IP

This commit is contained in:
wangshilong 2025-02-06 17:47:00 +08:00
parent d2acd803f3
commit 2acf6d2f7c
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ public class ModbusRtcpApplication implements ApplicationContextAware {
private static final Logger logger = LoggerFactory.getLogger("com.iot.modbus_rtcp.rabbit");
public static void main(String[] args) throws Exception {
LicenseValidator.main(args);
LicenseValidator.main(null);
SpringApplication.run(ModbusRtcpApplication.class, args);
}

View File

@ -2,11 +2,11 @@ spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
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}
password: ${MYSQL_USERNAME:@Root123}
rabbitmq:
host: ${RABBIT_MQ_HOST:localhost}
host: ${RABBIT_MQ_HOST:172.17.0.1}
port: ${RABBIT_MQ_PORT:5672}
username: ${RABBIT_MQ_USERNAME:huaxia}
password: ${RABBIT_MQ_PASSWORD:huaxia@2024}