-
Notifications
You must be signed in to change notification settings - Fork 19
/
app_desc.yaml
71 lines (69 loc) · 2.63 KB
/
app_desc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
spec_version: 2
app_version: "{{APP_VERSION}}"
app:
region: default
bk_app_code: "bk_gsekit"
bk_app_name: 进程配置管理
bk_app_name_en: bk-gsekit
market:
category: 运维工具
introduction: 进程配置管理
introduction_en: Process&config manager
description: 进程配置管理是腾讯蓝鲸智云推出的一个专注于进程和配置文件管理的 SaaS 工具。
description_en: Process&config manager is a SaaS tool launched by Tencent BlueKing that focuses on process and configuration file management.
display_options:
width: 1300
height: 720
is_win_maximize: True
open_mode: "new_tab"
modules:
default:
is_default: True
source_dir: src
language: Python
services:
- name: mysql
- name: redis
- name: rabbitmq
env_variables:
- key: BKAPP_IS_V3_CONTAINER
value: "True"
description: 是否部署在V3PaaS容器
- key: PIP_VERSION
value: "20.2.3"
description: 固化pip版本
svc_discovery:
bk_saas:
- bk_app_code: "bk_iam"
- bk_app_code: "bk_gsekit"
processes:
web:
command: ./bin/start_web.sh
plan: 4C2G5R
replicas: 1
dworker:
command: celery -A blueapps.core.celery worker -Q default -n default@%h -c 5 -l info --maxtasksperchild=50
plan: 4C2G5R
replicas: 1
cworker:
command: celery -A blueapps.core.celery worker -Q pipeline_additional_task,pipeline_additional_task_priority -n common_worker@%h -l info -c 5 --maxtasksperchild=50
plan: 4C2G5R
replicas: 1
ereworker:
command: celery -A blueapps.core.celery worker -Q er_execute -n er_execute_worker@%h -l info -P threads -c 64 --maxtasksperchild=50
plan: 4C2G5R
replicas: 1
ersworker:
command: celery -A blueapps.core.celery worker -Q er_schedule -n er_schedule_worker@%h -l info -P threads -c 64 --maxtasksperchild=50
plan: 4C2G5R
replicas: 1
beat:
command: celery -A blueapps.core.celery beat -l info
plan: 4C2G5R
replicas: 1
pwatch:
command: python manage.py watch_process
plan: 4C2G5R
replicas: 1
scripts:
pre_release_hook: bash bin/pre-release