File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
java/com/starkandwayne/serviceregistry Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 22
33import org .springframework .boot .SpringApplication ;
44import org .springframework .boot .autoconfigure .SpringBootApplication ;
5+ import org .springframework .cloud .netflix .eureka .server .EnableEurekaServer ;
56
67@ SpringBootApplication
8+ @ EnableEurekaServer
79public class ServiceRegistryApplication {
810
911 public static void main (String [] args ) {
Original file line number Diff line number Diff line change 1+ server :
2+ port : 8761
3+ spring :
4+ application :
5+ name : eureka
6+ config :
7+ import : optional:configserver:${CONFIG_SERVER_URL:http://localhost:8888/}
8+ eureka :
9+ client :
10+ registerWithEureka : false
11+ fetchRegistry : false
12+ server :
13+ waitTimeInMsWhenSyncEmpty : 0
14+ management :
15+ endpoints :
16+ web :
17+ exposure :
18+ include : " *"
You can’t perform that action at this time.
0 commit comments