Page History
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
server.port=8761 eureka.client.register-with-eureka=false eureka.client.fetch-registry=false logging.level.com.netflix.eureka=OFF logging.level.com.netflix.discovery=OFF |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<!-- Eureka Server --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId> </dependency> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
@EnableEurekaServer @SpringBootApplication public class EurekaServiceregistryApplication { public static void main(String[] args) { SpringApplication.run(EurekaServiceregistryApplication.class, args); } } |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
spring.profiles.active=local spring.application.name=lobbyapi # N.B. this is the default: # 앞장에서 설정한 콘피그 서버 Url입니다. spring.cloud.config.uri=http://localhost:8888 management.security.enabled=false |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> </dependency> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
@EnableDiscoveryClient @SpringBootApplication public class LobbyapiApplication { public static void main(String[] args) { SpringApplication.run(LobbyapiApplication.class, args); } } |
...