Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Springboot Plus
Commits
fb8274e9
Commit
fb8274e9
authored
Apr 15, 2018
by
ykb
Browse files
添加开启eureka服务配置
parent
fdcd70ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
admin-console/src/main/java/com/ibeetl/admin/CosonleApplication.java
View file @
fb8274e9
...
...
@@ -6,7 +6,6 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
import
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
;
import
org.springframework.cache.annotation.EnableCaching
;
import
org.springframework.cloud.netflix.eureka.EnableEurekaClient
;
import
org.springframework.web.WebApplicationInitializer
;
@EnableEurekaClient
@SpringBootApplication
...
...
admin-console/src/main/resources/application.properties
View file @
fb8274e9
...
...
@@ -34,8 +34,10 @@ spring.devtools.restart.exclude=templates/**
file.previewURL
=
http://localhost:8012/onlinePreview
spring.application.name
=
console-service
#eureka-client
#是否开启eureka服务
eureka.client.enabled
=
false
spring.application.name
=
console-service
eureka.client.serviceUrl.defaultZone
=
http://localhost:8761/eureka/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment