Move process commands from Procfile to manifest.yml

This commit is contained in:
Ryan Ahearn
2022-10-18 11:22:58 -04:00
parent 59732ce137
commit 8dc0b4eb19
5 changed files with 21 additions and 3 deletions

View File

@@ -17,6 +17,16 @@ applications:
- notifications-api-csv-upload-bucket-((env))
- notifications-api-contact-list-bucket-((env))
processes:
- type: web
instances: ((web_instances))
memory: ((web_memory))
command: ./scripts/run_app_paas.sh gunicorn -c ./gunicorn_config.py application
- type: worker
instances: ((worker_instances))
memory: ((worker_memory))
command: ./scripts/run_app_paas.sh celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=4
env:
NOTIFY_APP_NAME: api
NOTIFY_LOG_PATH: /home/vcap/logs/app.log