Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
cloud-backend
Commits
4554fb06
Commit
4554fb06
authored
May 27, 2022
by
袁伟铭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.0.0
parent
98809e40
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
eureka-server/src/main/resources/application.yml
+2
-1
pom.xml
+3
-3
No files found.
eureka-server/src/main/resources/application.yml
View file @
4554fb06
...
...
@@ -22,6 +22,6 @@ eureka:
register-with-eureka
:
false
# 表示是否从Eureka Server获取注册信息,默认为true。
fetch-registry
:
false
# 设置与Eureka Server交互的地址,查询服务和注册服务都需要依赖这个地址。默认是http://localhost:8
000/eureka
;多个地址可使用,分隔
# 设置与Eureka Server交互的地址,查询服务和注册服务都需要依赖这个地址。默认是http://localhost:8
761/eureka/
;多个地址可使用,分隔
service-url
:
defaultZone
:
http://${spring.security.user.name}:${spring.security.user.password}@${spring.cloud.client.ip-address}:${server.port}/eureka/
\ No newline at end of file
pom.xml
View file @
4554fb06
...
...
@@ -50,7 +50,7 @@
<properties>
<profiles.active>
dev
</profiles.active>
<logging.level>
debug
</logging.level>
<eureka.server.url>
http://admin:123456@127.0.0.1:8800/eureka
</eureka.server.url>
<eureka.server.url>
http://admin:123456@127.0.0.1:8800/eureka
/
</eureka.server.url>
</properties>
<activation>
<activeByDefault>
true
</activeByDefault>
...
...
@@ -62,7 +62,7 @@
<properties>
<profiles.active>
test
</profiles.active>
<logging.level>
debug
</logging.level>
<eureka.server.url>
http://admin:123456@127.0.0.1:8800/eureka
</eureka.server.url>
<eureka.server.url>
http://admin:123456@127.0.0.1:8800/eureka
/
</eureka.server.url>
</properties>
</profile>
<profile>
...
...
@@ -71,7 +71,7 @@
<properties>
<profiles.active>
product
</profiles.active>
<logging.level>
info
</logging.level>
<eureka.server.url>
http://admin:123456@127.0.0.1:8800/eureka
</eureka.server.url>
<eureka.server.url>
http://admin:123456@127.0.0.1:8800/eureka
/
</eureka.server.url>
</properties>
</profile>
</profiles>
...
...
Write
Preview
Markdown
is supported
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