修改环境配置

This commit is contained in:
zk
2026-06-25 14:41:18 +08:00
parent 77186cfde7
commit 5ff481711d
3 changed files with 4 additions and 1 deletions
@@ -13,6 +13,7 @@ spring:
password: ${REDIS_PASSWORD:123456} password: ${REDIS_PASSWORD:123456}
port: ${REDIS_PORT:6379} port: ${REDIS_PORT:6379}
timeout: 8s timeout: 8s
database: 2
# 电子邮箱 # 电子邮箱
email: email:
@@ -13,6 +13,7 @@ spring:
password: ${REDIS_PASSWORD:#8kPCdAsser} password: ${REDIS_PASSWORD:#8kPCdAsser}
port: ${REDIS_PORT:30089} port: ${REDIS_PORT:30089}
timeout: 10s timeout: 10s
database: 0
# 电子邮箱 # 电子邮箱
email: email:
@@ -4,7 +4,7 @@ server:
# 数据源配置 # 数据源配置
spring: spring:
datasource: datasource:
url: jdbc:mysql://${MYSQL_HOST:192.168.31.105}:${MYSQL_PORT:3306}/${DB_NAME:offerpie}?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true url: jdbc:mysql://${MYSQL_HOST:192.168.31.105}:${MYSQL_PORT:3306}/${DB_NAME:offerpie_test}?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
username: ${MYSQL_USERNAME:root} username: ${MYSQL_USERNAME:root}
password: ${MYSQL_PASSWORD:123456} password: ${MYSQL_PASSWORD:123456}
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
@@ -13,6 +13,7 @@ spring:
password: ${REDIS_PASSWORD:123456} password: ${REDIS_PASSWORD:123456}
port: ${REDIS_PORT:6379} port: ${REDIS_PORT:6379}
timeout: 8s timeout: 8s
database: 1
# 电子邮箱 # 电子邮箱
email: email: