mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
https://github.com/cskefu/cskefu/issues/751 update image name and README
Signed-off-by: Hai Liang Wang <hai@chatopera.com>
This commit is contained in:
parent
6456b9ef59
commit
fed2c434bc
72
README.md
72
README.md
@ -1,6 +1,6 @@
|
|||||||
<div align=right>
|
<div align=right>
|
||||||
|
|
||||||
[主页](https://www.cskefu.com/) | [开源许可协议](https://www.cskefu.com/2022/06/24/cskefu-opensource-license/) | [邮件列表](https://lists.cskefu.com/cgi-bin/mailman/listinfo/dev) | [路线图](https://github.com/cskefu/cskefu/projects)
|
[主页](https://www.cskefu.com/) | [开源许可协议](https://www.cskefu.com/2022/06/24/cskefu-opensource-license/) | [邮件列表](https://lists.cskefu.com/cgi-bin/mailman/listinfo/dev) | [路线图](https://github.com/cskefu/cskefu/projects) | [文档中心](https://docs.cskefu.com)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -8,7 +8,75 @@
|
|||||||
|
|
||||||
中文版| [English](README_en.md)
|
中文版| [English](README_en.md)
|
||||||
|
|
||||||
新版本研发启动,进入 [develop](https://github.com/cskefu/cskefu/issues/750) / CSKeFu v8 Upcoming ...
|
## 项目目录说明
|
||||||
|
|
||||||
|
```
|
||||||
|
.
|
||||||
|
├── compose # 使用 Docker Compose 启动目录
|
||||||
|
│ ├── databases
|
||||||
|
│ │ ├── mysql
|
||||||
|
│ │ └── redis
|
||||||
|
│ ├── docker-compose.yml
|
||||||
|
│ └── README.md
|
||||||
|
├── README.md
|
||||||
|
├── server # 服务器端 Server 程序
|
||||||
|
│ ├── serving-foo # serving 前缀的是 Application
|
||||||
|
│ │ ├── src
|
||||||
|
│ │ ├── bin
|
||||||
|
│ │ ├── config
|
||||||
|
│ │ ├── data
|
||||||
|
│ │ ├── Dockerfile
|
||||||
|
│ │ ├── logs
|
||||||
|
│ │ ├── pom.xml
|
||||||
|
│ │ └── README.md
|
||||||
|
│ ├── mod-bar # mod 前缀的是模块、Lib
|
||||||
|
│ │ ├── src
|
||||||
|
│ │ ├── bin
|
||||||
|
│ │ ├── config
|
||||||
|
│ │ ├── data
|
||||||
|
│ │ ├── pom.xml
|
||||||
|
│ │ ├── logs
|
||||||
|
│ │ └── README.md
|
||||||
|
│ ├── mod-biz
|
||||||
|
│ └── 服务端项目根目录
|
||||||
|
└── web # 前端服务程序
|
||||||
|
└── web前端项目根目录
|
||||||
|
```
|
||||||
|
|
||||||
|
### server
|
||||||
|
backend modules and apps.
|
||||||
|
|
||||||
|
* module - sub module as a maven project.
|
||||||
|
* serving - an application such as spring boot app.
|
||||||
|
|
||||||
|
For each module and app, following a folder structure -
|
||||||
|
|
||||||
|
```
|
||||||
|
pom.xml # for a maven project
|
||||||
|
src/ # source codes
|
||||||
|
config / # config file sample
|
||||||
|
data/ # data used by this app
|
||||||
|
logs/ # logs dir
|
||||||
|
bin/ # scripts or binary generated with this app
|
||||||
|
start.sh # start this app
|
||||||
|
compile.sh # compile the source code to binary
|
||||||
|
package.sh # package up the file
|
||||||
|
dev.sh # start the app in development mode
|
||||||
|
build.sh # build the app as a docker image
|
||||||
|
run.sh # run the app with docker image
|
||||||
|
push.sh # push the docker image into docker registry
|
||||||
|
|
||||||
|
Dockerfile # Docker file to build this app as a docker image
|
||||||
|
```
|
||||||
|
|
||||||
|
### web
|
||||||
|
|
||||||
|
frontend services for web clients.
|
||||||
|
|
||||||
|
### compose
|
||||||
|
|
||||||
|
YML and data dirs to run with docker-compose.
|
||||||
|
|
||||||
|
|
||||||
## 其他版本
|
## 其他版本
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
contact-center:
|
api:
|
||||||
image: ${CC_IMAGE:-cskefu/contact-center:v8}
|
image: ${SERVING_API_IMAGE:-cskefu/api:v8}
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "${SERVING_API_PORT:-6500}:6500"
|
- "${SERVING_API_PORT:-6500}:6500"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
baseDir=$(cd `dirname "$0"`;pwd)
|
baseDir=$(cd `dirname "$0"`;pwd)
|
||||||
appHome=$baseDir/..
|
appHome=$baseDir/..
|
||||||
registryPrefix=
|
registryPrefix=
|
||||||
imagename=cskefu/contact-center
|
imagename=cskefu/api
|
||||||
|
|
||||||
# functions
|
# functions
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user