新增测试环境配置

This commit is contained in:
wangshilong 2025-02-06 15:26:47 +08:00
parent ec5c7e0eba
commit 43284cfe85
1 changed files with 13 additions and 0 deletions

View File

@ -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