Compare commits

..

1 Commits

Author SHA1 Message Date
pycook
05453becf9 release: 2.3.7 2023-11-24 14:53:53 +08:00
3 changed files with 6 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ docker-compose up -d
- 第一步: 先安装 docker 环境, 以及docker-compose
- 第二步: 直接使用项目根目录下的install.sh 文件进行 `安装`、`启动`、`暂停`、`查状态`、`删除`、`卸载`
```shell
curl -so install.sh https://raw.githubusercontent.com/veops/cmdb/deploy_on_kylin_docker/install.sh
curl -so install.sh https://raw.githubusercontent.com/veops/cmdb/master/install.sh
sh install.sh install
```

View File

@@ -32,7 +32,7 @@ services:
- redis
cmdb-api:
image: registry.cn-hangzhou.aliyuncs.com/veops/cmdb-api:2.3.6
image: registry.cn-hangzhou.aliyuncs.com/veops/cmdb-api:2.3.7
# build:
# context: .
# target: cmdb-api
@@ -50,8 +50,8 @@ services:
flask common-check-new-columns
gunicorn --workers=3 autoapp:app -b 0.0.0.0:5000 -D
nohup celery -A celery_worker.celery worker -E -Q one_cmdb_async --autoscale=2,5 > one_cmdb_async.log 2>&1 &
nohup celery -A celery_worker.celery worker -E -Q acl_async --concurrency=2 > one_acl_async.log 2>&1 &
celery -A celery_worker.celery worker -E -Q one_cmdb_async --autoscale=5,2 --logfile=one_cmdb_async.log -D
celery -A celery_worker.celery worker -E -Q acl_async --logfile=one_acl_async.log --concurrency=2 -D
nohup flask cmdb-trigger > trigger.log 2>&1 &
flask cmdb-init-cache
@@ -67,7 +67,7 @@ services:
- cmdb-api
cmdb-ui:
image: registry.cn-hangzhou.aliyuncs.com/veops/cmdb-ui:2.3.6
image: registry.cn-hangzhou.aliyuncs.com/veops/cmdb-ui:2.3.7
# build:
# context: .
# target: cmdb-ui

View File

@@ -21,7 +21,7 @@ check_docker_compose() {
clone_repo() {
local repo_url=$1
git clone -b deploy_on_kylin_docker --single-branch $repo_url || {
git clone $repo_url || {
echo "error: failed to clone $repo_url"
exit 1
}