From 43284cfe855c8dbb2878656c4e0396014efc11fa Mon Sep 17 00:00:00 2001 From: wangshilong Date: Thu, 6 Feb 2025 15:26:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B5=8B=E8=AF=95=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-test.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/main/resources/application-test.yaml diff --git a/src/main/resources/application-test.yaml b/src/main/resources/application-test.yaml new file mode 100644 index 0000000..231e49c --- /dev/null +++ b/src/main/resources/application-test.yaml @@ -0,0 +1,13 @@ +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 + username: ${MYSQL_USERNAME:root} + password: ${MYSQL_USERNAME:@Root123} + rabbitmq: + host: ${RABBIT_MQ_HOST:localhost} + port: ${RABBIT_MQ_PORT:5672} + username: ${RABBIT_MQ_USERNAME:huaxia} + password: ${RABBIT_MQ_PASSWORD:huaxia@2024} + virtual-host: /gas