Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
ldp-docs
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
doc
ldp-docs
Commits
554d1720
Commit
554d1720
authored
Sep 28, 2020
by
马超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
1b24bde1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
LDP集中式安装部署说明.md
LDP集中式安装部署说明.md
+36
-0
No files found.
LDP集中式安装部署说明.md
View file @
554d1720
...
...
@@ -158,6 +158,42 @@ LDP安装包已集成。
└── mcs
#mcs前端资源目录
```
#### 修改启动配置boot.conf
`conf/boot.conf`
是和启动脚本配合使用的配置文件,内容如下:
```
shell
NACOS_SERVER
=
nacos-server0:8018
SPRING_PROFILES_ACTIVE
=
nacos
DUBBO_PROTOCOL_HOST
=
sinra-server0
DEPLOY_ENV
=
prod
```
配置文件内容解释:
| key | 备注 |
| ---------------------- | ------------------------------------------------------------ |
| NACOS_SERVER | 指定服务注册的NACOS地址 |
| SPRING_PROFILES_ACTIVE | 指定启动的配置文件 |
| DUBBO_PROTOCOL_HOST | DEPLOY_ENV值为
`dev`
时,指定以下服务在NACOS上的IP值(base-service、uaa-service、mcs-service、job-service) |
| DEPLOY_ENV | 指定启动环境(prod、dev),当启动环境为prod的时候,服务在NACOS上的值默认为IP |
根据部署环境修改配置文件
**开发环境:**
1、修改
`DUBBO_PROTOCOL_HOST`
为对应的值(需要在hosts中配置)
2、修改
`DEPLOY_ENV`
为
`dev`
**生产环境:**
不用做任何修改。
#### 中间件服务hosts配置
在服务器host配置中加入以下配置,根据实际服务修改相应ip
...
...
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