42 lines
925 B
YAML
42 lines
925 B
YAML
|
|
server:
|
|
port: 83
|
|
spring:
|
|
main:
|
|
allow-circular-references: true
|
|
# allow-bean-definition-overriding: true
|
|
application:
|
|
name: poetry-consunmer-attention
|
|
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:
|
|
port: 8719
|
|
dashboard: 127.0.0.1:8080
|
|
datasource:
|
|
ds1:
|
|
nacos:
|
|
server-addr: 127.0.0.1:8848
|
|
dataId: cloudalibaba-sentinel-login
|
|
groupId: SENTINEL_GROUP
|
|
data_type: json
|
|
rule_type: flow
|
|
namespace: Public
|
|
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
|