This repository was archived by the owner on Mar 25, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathzuul-server.yml
79 lines (62 loc) · 2 KB
/
zuul-server.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
spring:
application.name: zuul-server
server:
port: ${PORT:3000}
eureka.client.region: default
eureka.client.registryFetchIntervalSeconds: 5
management.security.sessions: always
hystrix.command.authentication.execution.isolation.thread.timeoutInMilliseconds: 600000
hystrix.command.authorization.execution.isolation.thread.timeoutInMilliseconds: 600000
hystrix.command.communication.execution.isolation.thread.timeoutInMilliseconds: 600000
hystrix.command.eureka-server.execution.isolation.thread.timeoutInMilliseconds: 600000
endpoints.routes.sensitive: false
logging.level.org.springframework.web: debug
logging.level.org.springframework.security: debug
logging.level.org.springframework.cloud.netflix.zuul: debug
spring.redis.port: 6379
spring.sleuth.sampler.percentage: 1.0
spring.sleuth.web.skipPattern: (^cleanup.*|.+favicon.*)
---
spring:
profiles: native
eureka:
client:
service-url.defaultZone: http://discUser:discPassword@localhost:8082/eureka
spring.redis.host: localhost
zuul:
prefix: /api
routes:
authorization:
path: /authorization/**
sensitive-headers: Set-Cookie,Authorization
url: http://localhost:8090
communication:
path: /communication/**
sensitive-headers: Set-Cookie,Authorization
url: http://localhost:8100
eureka-server:
path: /eureka-server/**
sensitive-headers: Set-Cookie,Authorization
url: http://localhost:8082
---
spring:
profiles: docker
eureka:
client:
service-url.defaultZone: http://discUser:discPassword@service-discovery:8082/eureka
spring.redis.host: redis
zuul:
prefix: /api
routes:
authorization:
path: /authorization/**
sensitive-headers: Set-Cookie,Authorization
url: http://authorization:8090
communication:
path: /communication/**
sensitive-headers: Set-Cookie,Authorization
url: http://communication:8100
eureka-server:
path: /eureka-server/**
sensitive-headers: Set-Cookie,Authorization
url: http://service-discovery:8082