forked from lyj8330328/leyou-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-dev.yml
45 lines (44 loc) · 1 KB
/
test-dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
server:
port: 8091
spring:
application:
name: test-service
datasource:
url: jdbc:mysql://127.0.0.1:3306/leyou?characterEncoding=UTF-8&useSSL=false
username: root
password: 123456
hikari:
maximum-pool-size: 20
minimum-idle: 10
rabbitmq:
host: 192.168.19.121
data:
mongodb:
host: localhost
database: spitdb
eureka:
client:
service-url:
defaultZone: http://127.0.0.1:10086/eureka
registry-fetch-interval-seconds: 5
instance:
instance-id: ${spring.application.name}:${server.port}
prefer-ip-address: true #当你获取host时,返回的不是主机名,而是ip
ip-address: 127.0.0.1
lease-renewal-interval-in-seconds: 5
lease-expiration-duration-in-seconds: 10
ip:
t:
w: 12312123
leyou:
jwt:
cookieName: LY_TOKEN
pubKeyPath: G:\\tmp\\rsa\\rsa.pub # 公钥地址
filter:
allowPaths:
/api/auth
/api/search
/api/user/register
/api/user/check
/api/user/code
/api/item