/
sample-eureka-service.properties
executable file
·32 lines (20 loc) · 1.28 KB
/
sample-eureka-service.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
###Eureka Client configuration for Sample Eureka Service
#Properties based configuration for eureka client. The properties specified here is mostly what the users
#need to change. All of these can be specified as a java system property with -D option (eg)-Deureka.region=us-east-1
#For additional tuning options refer <url to go here>
#Region where eureka is deployed -For AWS specify one of the AWS regions, for other datacenters specify a arbitrary string
#indicating the region.This is normally specified as a -D option (eg) -Deureka.region=us-east-1
eureka.region=default
#Name of the application to be identified by other services
eureka.name=sampleservice
#Virtual host name by which the clients identifies this service
eureka.vipAddress=sampleservice.mydomain.net
#The port where the service will be running and serving requests
eureka.port=8001
#For eureka clients running in eureka server, it needs to connect to servers in other zones
eureka.preferSameZone=false
#Change this if you want to use a DNS based lookup for determining other eureka servers. For example
#of specifying the DNS entries, check the eureka-client-test.properties, eureka-client-prod.properties
eureka.shouldUseDns=false
eureka.us-east-1.availabilityZones=default
eureka.serviceUrl.default=http://localhost/eureka/v2/