Commit eade8781 authored by Kunkka王辉's avatar Kunkka王辉 😲

文档编写

parent fad0a35f
......@@ -9,33 +9,6 @@
7. java-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 [
| 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 |
### php7.4扩展
| 名称 |
|:----------------|
| 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 |
## 配置文件处理
如何让服务内部调度
## 环境依赖
- docker 必须
- git 必须
- supervisor 如不需要跑任务可不用
## 安装与部署
1. 本地或远程机器 git clone 仓库代码
......@@ -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
目前是有nacos-client轮询更新,间隔30s检查一次
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment