Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
civil-bigdata
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
civil
civil-bigdata
Commits
a327872b
Commit
a327872b
authored
Aug 23, 2021
by
袁伟铭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改注册中心配置
parent
8a39e625
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
3 deletions
+17
-3
api-server/src/main/resources/bootstrap.yml
+2
-0
config-server/src/main/resources/application.yml
+2
-0
eureka-server/src/main/resources/application.yml
+0
-2
file-server/src/main/resources/bootstrap.yml
+2
-0
gateway-server/src/main/resources/bootstrap.yml
+2
-0
portal-server/src/main/resources/bootstrap.yml
+2
-0
resource-server/src/main/resources/bootstrap.yml
+2
-0
sys-server/src/main/resources/bootstrap.yml
+2
-0
user-server/src/main/resources/bootstrap.yml
+3
-1
No files found.
api-server/src/main/resources/bootstrap.yml
View file @
a327872b
...
@@ -11,6 +11,8 @@ spring:
...
@@ -11,6 +11,8 @@ spring:
uri
:
http://127.0.0.1:8500/
uri
:
http://127.0.0.1:8500/
eureka
:
eureka
:
instance
:
prefer-ip-address
:
true
client
:
client
:
serviceUrl
:
serviceUrl
:
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
...
...
config-server/src/main/resources/application.yml
View file @
a327872b
...
@@ -16,6 +16,8 @@ spring:
...
@@ -16,6 +16,8 @@ spring:
# password: Dk2019123456
# password: Dk2019123456
# search-paths: config-files #配置git仓库下的相对地址,可以配置多个,用 , 分割
# search-paths: config-files #配置git仓库下的相对地址,可以配置多个,用 , 分割
eureka
:
eureka
:
instance
:
prefer-ip-address
:
true
client
:
client
:
serviceUrl
:
serviceUrl
:
defaultZone
:
http://admin:123456@localhost:8800/eureka/
defaultZone
:
http://admin:123456@localhost:8800/eureka/
...
...
eureka-server/src/main/resources/application.yml
View file @
a327872b
...
@@ -8,8 +8,6 @@ spring:
...
@@ -8,8 +8,6 @@ spring:
name
:
admin
name
:
admin
password
:
123456
password
:
123456
eureka
:
eureka
:
instance
:
preter-ip-address
:
true
client
:
client
:
# 表示是否将自己注册到Eureka Server,默认为true。
# 表示是否将自己注册到Eureka Server,默认为true。
register-with-eureka
:
false
register-with-eureka
:
false
...
...
file-server/src/main/resources/bootstrap.yml
View file @
a327872b
...
@@ -11,6 +11,8 @@ spring:
...
@@ -11,6 +11,8 @@ spring:
uri
:
http://127.0.0.1:8500/
uri
:
http://127.0.0.1:8500/
eureka
:
eureka
:
instance
:
prefer-ip-address
:
true
client
:
client
:
serviceUrl
:
serviceUrl
:
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
gateway-server/src/main/resources/bootstrap.yml
View file @
a327872b
...
@@ -11,6 +11,8 @@ spring:
...
@@ -11,6 +11,8 @@ spring:
uri
:
http://127.0.0.1:8500/
uri
:
http://127.0.0.1:8500/
eureka
:
eureka
:
instance
:
prefer-ip-address
:
true
client
:
client
:
serviceUrl
:
serviceUrl
:
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
portal-server/src/main/resources/bootstrap.yml
View file @
a327872b
...
@@ -11,6 +11,8 @@ spring:
...
@@ -11,6 +11,8 @@ spring:
uri
:
http://127.0.0.1:8500/
uri
:
http://127.0.0.1:8500/
eureka
:
eureka
:
instance
:
prefer-ip-address
:
true
client
:
client
:
serviceUrl
:
serviceUrl
:
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
resource-server/src/main/resources/bootstrap.yml
View file @
a327872b
...
@@ -11,6 +11,8 @@ spring:
...
@@ -11,6 +11,8 @@ spring:
uri
:
http://127.0.0.1:8500/
uri
:
http://127.0.0.1:8500/
eureka
:
eureka
:
instance
:
prefer-ip-address
:
true
client
:
client
:
serviceUrl
:
serviceUrl
:
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
sys-server/src/main/resources/bootstrap.yml
View file @
a327872b
...
@@ -11,6 +11,8 @@ spring:
...
@@ -11,6 +11,8 @@ spring:
uri
:
http://127.0.0.1:8500/
uri
:
http://127.0.0.1:8500/
eureka
:
eureka
:
instance
:
prefer-ip-address
:
true
client
:
client
:
serviceUrl
:
serviceUrl
:
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
user-server/src/main/resources/bootstrap.yml
View file @
a327872b
...
@@ -8,9 +8,11 @@ spring:
...
@@ -8,9 +8,11 @@ spring:
discovery
:
discovery
:
enabled
:
true
enabled
:
true
service-id
:
CONFIG-SERVER
service-id
:
CONFIG-SERVER
uri
:
http://127.0.0.1:8
5
00/
uri
:
http://127.0.0.1:8
3
00/
eureka
:
eureka
:
instance
:
prefer-ip-address
:
true
client
:
client
:
serviceUrl
:
serviceUrl
:
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
defaultZone
:
http://admin:123456@127.0.0.1:8800/eureka/
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