37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
server:
|
|
port: 8503
|
|
spring:
|
|
application:
|
|
name: poetry-provider-user
|
|
main:
|
|
allow-circular-references: true
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
# url: jdbc:mysql://localhost:3306/fourseasons?characterEncoding=utf8&useSSL=false&serverTimezone=UTC&rewriteBatchedStatements=true
|
|
# username: root
|
|
# password: 123456
|
|
url: jdbc:mysql://127.0.0.1:3306/shici?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=UTC&rewriteBatchedStatements=true
|
|
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 |