ZHANG ZENGXUAN 3e52ba13db init git
2025-05-19 21:57:31 +08:00

69 lines
1.8 KiB
YAML

#server:
# port: 8501
#spring:
# application:
# name: poetry-provider-poem
# main:
# allow-circular-references: true
# datasource:
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://rm-2zev06vdy0t736mpl9o.mysql.rds.aliyuncs.com:3306/fourseasons?characterEncoding=utf8&useSSL=false&serverTimezone=UTC&rewriteBatchedStatements=true
# username: root
# password: Hyckr6rwzsn!
# cloud:
# sentinel:
# transport:
# dashboard: 81.70.104.6:8080
# datasource:
# ds1:
# nacos:
# server-addr: 81.70.104.6:8848
# dataId: cloudalibaba-sentinel-service
# groupId: SENTINEL_GROUP
# data_type: json
# rule_type: flow
# namespace: 45d907a1-7646-40b0-8502-b8610335271f
# nacos:
# discovery:
# server-addr: 81.70.104.6:8848
#feign:
# sentinel:
# enabled: true
#mybatis:
# type-aliases-package: com.jacklei.poetry.entities
# mapper-locations: classpath:mapper/*.xml
server:
port: 8501
spring:
application:
name: poetry-provider-poem
main:
allow-circular-references: true
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/shici?useUnicode=true&characterEncoding=utf8&useSSL=false
username: shici
password: 123456
cloud:
sentinel:
transport:
dashboard: 127.0.0.1:8080
datasource:
ds1:
nacos:
server-addr: 127.0.0.1:8848
dataId: cloudalibaba-sentinel-service
groupId: SENTINEL_GROUP
data_type: json
rule_type: flow
namespace: 45d907a1-7646-40b0-8502-b8610335271f
nacos:
discovery:
server-addr: 127.0.0.1:8848
feign:
sentinel:
enabled: true
mybatis:
type-aliases-package: com.jacklei.poetry.entities
mapper-locations: classpath:mapper/*.xml