fix: 修复本地启动、数据库初始化与构建问题 (#314)

* fix: 修复本地启动、数据库初始化与构建问题

* fix: 修复pr的一些问题提交
This commit is contained in:
evo
2026-07-19 13:42:43 +08:00
committed by GitHub
parent 5d834d924a
commit afc9d3d17d
19 changed files with 623 additions and 62 deletions

View File

@@ -2,7 +2,7 @@ spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
url: jdbc:mysql://localhost:3306/snail_job?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: root
hikari:
@@ -47,5 +47,5 @@ spring.boot.admin.client:
metadata:
username: ${spring.boot.admin.client.username}
userpassword: ${spring.boot.admin.client.password}
username: @monitor.username@
password: @monitor.password@
username: ${MONITOR_USERNAME:ruoyi}
password: ${MONITOR_PASSWORD:123456}

View File

@@ -47,5 +47,5 @@ spring.boot.admin.client:
metadata:
username: ${spring.boot.admin.client.username}
userpassword: ${spring.boot.admin.client.password}
username: @monitor.username@
password: @monitor.password@
username: ${MONITOR_USERNAME:ruoyi}
password: ${MONITOR_PASSWORD:123456}

View File

@@ -7,7 +7,7 @@ spring:
application:
name: ruoyi-snailjob-server
profiles:
active: @profiles.active@
active: ${SPRING_PROFILES_ACTIVE:dev}
web:
resources:
static-locations: classpath:admin/