-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
application.properties
55 lines (33 loc) · 1.68 KB
/
application.properties
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
### Instance env settings
region=us-east-1
environment=test
### Eureka instance registration for this app
#Name of the application to be identified by other services
eureka.name=zuul
#The port where the service will be running and serving requests
eureka.port=7001
#Virtual host name by which the clients identifies this service
eureka.vipAddress=${eureka.name}:${eureka.port}
#For eureka clients running in eureka server, it needs to connect to servers in other zones
eureka.preferSameZone=false
# Don't register locally running instances.
eureka.registration.enabled=false
# Loading Filters
zuul.filters.root=src/main/groovy/com/netflix/zuul/sample/filters
zuul.filters.locations=${zuul.filters.root}/inbound,${zuul.filters.root}/outbound,${zuul.filters.root}/endpoint
zuul.filters.packages=com.netflix.zuul.filters.common
### Load balancing backends with Eureka
eureka.shouldUseDns=true
eureka.eurekaServer.context=discovery/v2
eureka.eurekaServer.domainName=discovery${environment}.netflix.net
eureka.eurekaServer.gzipContent=true
eureka.serviceUrl.default=http://${region}.${eureka.eurekaServer.domainName}:7001/${eureka.eurekaServer.context}
api.ribbon.NIWSServerListClassName=com.netflix.niws.loadbalancer.DiscoveryEnabledNIWSServerList
api.ribbon.DeploymentContextBasedVipAddresses=api-test.netflix.net:7001
### Load balancing backends without Eureka
#eureka.shouldFetchRegistry=false
#api.ribbon.listOfServers=100.66.23.88:7001,100.65.155.22:7001
#api.ribbon.client.NIWSServerListClassName=com.netflix.loadbalancer.ConfigurationBasedServerList
#api.ribbon.DeploymentContextBasedVipAddresses=api-test.netflix.net:7001
# This has to be the last line
@next=application-${@environment}.properties