forked from itren/config-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin-service-development.yml
58 lines (53 loc) · 1.53 KB
/
admin-service-development.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
46
47
48
49
50
51
52
53
54
55
56
57
# 配置运行端口号
server:
port: 8871
ribbon:
eureka:
enabled: true
# zull 配置
zuul:
routes:
static:
path: /static/**
url: http://localhost:8001/
auth-service:
sensitiveHeaders:
path: /auth/**
stripPrefix: false
exam-service: /exam/**
admin-service: /admin/**
add-proxy-headers: true
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 15000
security:
user:
password: none
oauth2:
client:
accessTokenUri: http://localhost:8871/auth/oauth/token
userAuthorizationUri: http://localhost:8871/auth/oauth/authorize
clientId: web-app
preEstablishedRedirectUri: http://localhost:8871/login
registeredRedirectUri: http://localhost:8871/login
useCurrentUri: false
resource:
jwt:
keyValue: |
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAimUKhvBhsoeSM3HkIOP/Y3RXjvonBlZnLj8oO92TyAKG53lmAoK0wZ5MTZPsfrOz2Z7CeAp6mPhUANX2RUoFwVzG7rJmgWyqGmGFNBmtYL+uVqQ80TzWi5zyzXTxgVMWiCqqw/u4AeE1qhN8chnGwhUBnpgPAPd8v57mIwg0n5JxjdYe7pgHlpvt8ZXTXd1KBxB5K7WjNlCfMf75ZEeBaplxsSfJUwKbnHQKWcY3NnpjkVR8y4jviAbkOHmGMaliM7fcsLzbosBUPDQuNlvYdjPBRfH6MMPeXRW6On3u0Um9wIYmkQS+AEgHCq4UuLOnTTqqxnGkwFYeMAAXmRyMtQIDAQAB
-----END PUBLIC KEY-----
#logback配置,开发模式日志级别为 INFO
logging:
level:
root: INFO
org:
springframework:
security: INFO
com:
tangyi:
mapper: INFO