Skip to content

Commit 9f76160

Browse files
jiayuan929normal-wls
authored andcommitted
feat: 删除 Procfile 以适配云原生应用部署
1 parent a497372 commit 9f76160

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

template/{{cookiecutter.project_name}}/Procfile

Lines changed: 0 additions & 3 deletions
This file was deleted.

template/{{cookiecutter.project_name}}/app_desc.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ modules:
33
default:
44
language: python
55
is_default: true
6+
processes:
7+
web:
8+
command: gunicorn bk_plugin_runtime.wsgi --timeout 120 -k gthread --threads 16 -w 8 --max-requests=1000
9+
schedule:
10+
command: celery worker -A blueapps.core.celery -P threads -n schedule_worker@%h -c 500 -Q plugin_schedule,plugin_callback,schedule_delete -l INFO
11+
beat:
12+
command: celery beat -A blueapps.core.celery -l INFO
613
env_variables:
714
- key: PIP_VERSION
815
value: 21.0

0 commit comments

Comments
 (0)