Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-test
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
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
Kunkka王辉
docker-test
Commits
eade8781
Commit
eade8781
authored
Sep 20, 2023
by
Kunkka王辉
😲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文档编写
parent
fad0a35f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
92 deletions
+7
-92
README.md
README.md
+7
-92
No files found.
README.md
View file @
eade8781
...
@@ -9,33 +9,6 @@
...
@@ -9,33 +9,6 @@
7.
java-client
7.
java-client
8.
nacos-client 非项目使用
8.
nacos-client 非项目使用
### hostfile服务地址处理
-
vendor/galaxy/handle/src/HostFile/test.php
```
php
<?php
return
[
'BaseMicros'
=>
[
'host'
=>
'192.168.11.175'
,
'port'
=>
'9301'
],
'MarketMicros'
=>
[
'host'
=>
'192.168.11.175'
,
'port'
=>
'9302'
],
'FlowMicros'
=>
[
'host'
=>
'192.168.11.175'
,
'port'
=>
'9303'
],
'UserMicros'
=>
[
'host'
=>
'192.168.11.175'
,
'port'
=>
'9304'
],
'FlowEngineMicros'
=>
[
'host'
=>
'192.168.11.175'
,
'port'
=>
'9305'
],
'ServerSiteMicros'
=>
[
'host'
=>
'192.168.11.175'
,
'port'
=>
'9310'
],
'NoticeMicros'
=>
[
'host'
=>
'192.168.11.175'
,
'port'
=>
'9307'
],
'PromotionMicros'
=>
[
'host'
=>
'192.168.11.175'
,
'port'
=>
'9312'
],
'MemberMicros'
=>
[
'host'
=>
'192.168.11.175'
,
'port'
=>
'9313'
],
'PresaleMicros'
=>
[
'host'
=>
'192.168.11.175'
,
'port'
=>
'9316'
],
'BizPlatform'
=>
[
'host'
=>
'http://test.bizplatform.galaxy-immi.com'
,
'port'
=>
'80'
],
'CrmClient'
=>
[
'host'
=>
'http://test.crm-client.galaxy-immi.com'
,
'port'
=>
'80'
],
'common-server'
=>
[
'host'
=>
'test.common-server.galaxy-immi.com'
,
'port'
=>
'9321'
],
'workflow-server'
=>
[
'host'
=>
'http://test.workflow-server.galaxy-immi.com'
,
'port'
=>
'9324'
],
# 数据仓库
'data-center'
=>
[
'host'
=>
'https://dw-admin.galaxy-immi.com'
,
'port'
=>
'443'
],
'node'
=>
[
'host'
=>
'http://172.18.18.3'
,
'port'
=>
'3007'
],
];
```
### 服务目录汇总
### 服务目录汇总
| 服务名 | 描述 | 仓库地址 | 目录名称 | 状态 | 技术栈 | 端口 | 备注 |
| 服务名 | 描述 | 仓库地址 | 目录名称 | 状态 | 技术栈 | 端口 | 备注 |
...
@@ -72,70 +45,10 @@ return [
...
@@ -72,70 +45,10 @@ return [
| Notice-FRONT | Notice-Center前端-智能预警/代办 | http://gitlab.galaxy-immi.com/Front-end-group/Manage-Frame/Early-Warning.git | smartwhale/subapp/early_warning | 正常 | vue | $VUE_NOTICE_CENTER_HTTP_PORT | |
| Notice-FRONT | Notice-Center前端-智能预警/代办 | http://gitlab.galaxy-immi.com/Front-end-group/Manage-Frame/Early-Warning.git | smartwhale/subapp/early_warning | 正常 | vue | $VUE_NOTICE_CENTER_HTTP_PORT | |
| domain-module | 领域服务 | http://gitlab.galaxy-immi.com/colnet/domain-module.git | domain-module | 待定 | php | - | php8 |
| domain-module | 领域服务 | http://gitlab.galaxy-immi.com/colnet/domain-module.git | domain-module | 待定 | php | - | php8 |
## 环境依赖
-
docker 必须
-
git 必须
### php7.4扩展
-
supervisor 如不需要跑任务可不用
| 名称 |
|:----------------|
| bcmath |
| Core |
| ctype |
| curl |
| date |
| dom |
| fileinfo |
| filter |
| gd |
| hash |
| iconv |
| imagick |
| imap |
| intl |
| json |
| libxml |
| mbstring |
| mongodb |
| mysqli |
| mysqlnd |
| openssl |
| pcntl |
| pcre |
| PDO |
| pdo_mysql |
| pdo_pgsql |
| Phar |
| posix |
| protobuf |
| rdkafka |
| readline |
| redis |
| Reflection |
| session |
| SimpleXML |
| sockets |
| SPL |
| standard |
| swoole |
| sysvmsg |
| sysvsem |
| sysvshm |
| tideways_xhprof |
| tidy |
| tokenizer |
| xlswriter |
| xml |
| xmlreader |
| xmlrpc |
| xmlwriter |
| xsl |
| Zend OPcache |
| zip |
| zlib |
## 配置文件处理
如何让服务内部调度
## 安装与部署
## 安装与部署
1.
本地或远程机器 git clone 仓库代码
1.
本地或远程机器 git clone 仓库代码
...
@@ -188,7 +101,9 @@ stderr_logfile=/opt/supervisord/log/galaxy-crm-dev-err.log
...
@@ -188,7 +101,9 @@ stderr_logfile=/opt/supervisord/log/galaxy-crm-dev-err.log
```
```
## 配置统一
## 配置统一
nacos配置中心地址:http://192.168.11.163:8848/nacos,user
\:
nacos,pass
\:
nacos
nacos配置中心地址:http://192.168.11.163:8848/nacos
账号:nacos 密码:nacos
创建配置规则: CODE_DIR的目录名称+ ENV ,举例,galaxy-crm的dev环境配置data-id是galaxy-crm-dev
创建配置规则: CODE_DIR的目录名称+ ENV ,举例,galaxy-crm的dev环境配置data-id是galaxy-crm-dev
目前是有nacos-client轮询更新,间隔30s检查一次
目前是有nacos-client轮询更新,间隔30s检查一次
...
...
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