forked from gushen/template-springboot-hucky
init: first commit
This commit is contained in:
24
src/main/resources/application-example.yaml
Normal file
24
src/main/resources/application-example.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
spring:
|
||||
application:
|
||||
name: ai-spring-example
|
||||
# 动态多数据源配置
|
||||
datasource:
|
||||
dynamic:
|
||||
primary: master
|
||||
strict: false
|
||||
datasource:
|
||||
master:
|
||||
url: # 请替换为您的数据库URL
|
||||
username: # 请替换为您的数据库用户名
|
||||
password: # 请替换为您的数据库密码
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
# Redis配置
|
||||
data:
|
||||
redis:
|
||||
host: # 请替换为您的Redis主机
|
||||
port: 6379
|
||||
password: # 请替换为您的Redis密码
|
||||
database: 0
|
||||
|
||||
server:
|
||||
port: 8080
|
||||
Reference in New Issue
Block a user