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
fde558b4
Commit
fde558b4
authored
Feb 21, 2024
by
袁伟铭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码
parent
d7505953
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
eureka-server/src/main/resources/application.yml
+2
-2
pom.xml
+3
-3
No files found.
eureka-server/src/main/resources/
bootstrap
.yml
→
eureka-server/src/main/resources/
application
.yml
View file @
fde558b4
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
security
:
security
:
user
:
user
:
name
:
admin
name
:
admin
password
:
G
Xfy2021
password
:
G
xzq2024
eureka
:
# 相关文章:https://blog.csdn.net/weixin_49149614/article/details/121059046
eureka
:
# 相关文章:https://blog.csdn.net/weixin_49149614/article/details/121059046
instance
:
instance
:
#设置使用IP注册就会优先使用IP,hostname则无效
#设置使用IP注册就会优先使用IP,hostname则无效
...
@@ -28,4 +28,4 @@ eureka: # 相关文章:https://blog.csdn.net/weixin_49149614/article/details/1
...
@@ -28,4 +28,4 @@ eureka: # 相关文章:https://blog.csdn.net/weixin_49149614/article/details/1
fetch-registry
:
false
fetch-registry
:
false
# 设置与Eureka Server交互的地址,查询服务和注册服务都需要依赖这个地址。默认是http://127.0.0.1:8000/eureka ;多个地址可使用,分隔
# 设置与Eureka Server交互的地址,查询服务和注册服务都需要依赖这个地址。默认是http://127.0.0.1:8000/eureka ;多个地址可使用,分隔
service-url
:
service-url
:
defaultZone
:
http://admin:G
Xfy2021
@127.0.0.1:8800/eureka/
defaultZone
:
http://admin:G
xzq2024
@127.0.0.1:8800/eureka/
pom.xml
View file @
fde558b4
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
<id>
dev
</id>
<id>
dev
</id>
<properties>
<properties>
<profiles.active>
dev
</profiles.active>
<profiles.active>
dev
</profiles.active>
<register.url>
http://admin:
123456
@127.0.0.1:8800/eureka/
</register.url>
<register.url>
http://admin:
Gxzq2024
@127.0.0.1:8800/eureka/
</register.url>
</properties>
</properties>
<activation>
<activation>
<activeByDefault>
true
</activeByDefault>
<activeByDefault>
true
</activeByDefault>
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
<id>
test
</id>
<id>
test
</id>
<properties>
<properties>
<profiles.active>
test
</profiles.active>
<profiles.active>
test
</profiles.active>
<register.url>
http://admin:
123456
@127.0.0.1:8800/eureka/
</register.url>
<register.url>
http://admin:
Gxzq2024
@127.0.0.1:8800/eureka/
</register.url>
</properties>
</properties>
</profile>
</profile>
<profile>
<profile>
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
<id>
product
</id>
<id>
product
</id>
<properties>
<properties>
<profiles.active>
product
</profiles.active>
<profiles.active>
product
</profiles.active>
<register.url>
http://admin:
123456
@127.0.0.1:8800/eureka/
</register.url>
<register.url>
http://admin:
Gxzq2024
@127.0.0.1:8800/eureka/
</register.url>
</properties>
</properties>
</profile>
</profile>
</profiles>
</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