Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Dui123
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
王天宇
Dui123
Commits
7a2e9aac
Commit
7a2e9aac
authored
Nov 03, 2021
by
wty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上线6
parent
af3a5293
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app.js
server/app.js
+2
-2
No files found.
server/app.js
View file @
7a2e9aac
...
@@ -31,12 +31,12 @@ if (config === 'local'){
...
@@ -31,12 +31,12 @@ if (config === 'local'){
const
dockerApp
=
new
DockerApp
({
const
dockerApp
=
new
DockerApp
({
app
,
app
,
appType
:
'express'
,
appType
:
'express'
,
port
:
300
0
port
:
8
0
})
})
// 注册Eureka
// 注册Eureka
global
.
eureka
=
new
Eureka
({
global
.
eureka
=
new
Eureka
({
port
:
300
0
,
// 应用端口号
port
:
8
0
,
// 应用端口号
appName
:
'dui123'
,
// 应用名称
appName
:
'dui123'
,
// 应用名称
services
:
[
'dui123'
]
// 依赖服务名
services
:
[
'dui123'
]
// 依赖服务名
})
})
...
...
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