| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
@EnableEurekaClient
@SpringBootApplication
public class EurekaServiceApplication {
public static void main(String[] args) {
SpringApplication.run(EurekaServiceApplication.class);
}
} |
| Code Block | ||||
|---|---|---|---|---|
| ||||
application.yml spring: cloud: service-registry: auto-registration: enabled: false #현재 인스턴스를 Reigstry 에 등록하지 않고 싶을 때 false |
...