mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 05:08:16 +08:00
version: 2.3.1
This commit is contained in:
@@ -30,7 +30,7 @@ services:
|
||||
- redis
|
||||
|
||||
cmdb-api:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/veops/cmdb-api:3.0
|
||||
image: registry.cn-hangzhou.aliyuncs.com/veops/cmdb-api:2.3.1
|
||||
# build:
|
||||
# context: .
|
||||
# target: cmdb-api
|
||||
@@ -44,14 +44,13 @@ services:
|
||||
- |
|
||||
sed -i "s#USE_ACL = False#USE_ACL = True#g" settings.py
|
||||
/wait
|
||||
sleep 5
|
||||
gunicorn --workers=3 autoapp:app -b 0.0.0.0:5000 -D
|
||||
flask cmdb-init-cache
|
||||
flask cmdb-init-acl
|
||||
nohup flask cmdb-counter > counter.log 2>&1 &
|
||||
|
||||
celery worker -A celery_worker.celery -E -Q one_cmdb_async --concurrency=2 -D
|
||||
celery worker -A celery_worker.celery -E -Q acl_async --concurrency=2
|
||||
celery -A celery_worker.celery worker -E -Q one_cmdb_async --concurrency=2 -D
|
||||
celery -A celery_worker.celery worker -E -Q acl_async --concurrency=2
|
||||
depends_on:
|
||||
- cmdb-db
|
||||
- cmdb-cache
|
||||
@@ -61,7 +60,7 @@ services:
|
||||
- cmdb-api
|
||||
|
||||
cmdb-ui:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/veops/cmdb-ui:3.0
|
||||
image: registry.cn-hangzhou.aliyuncs.com/veops/cmdb-ui:2.3.1
|
||||
# build:
|
||||
# context: .
|
||||
# target: cmdb-ui
|
||||
|
Reference in New Issue
Block a user