Run celery beat on cloud.gov

This commit is contained in:
Ryan Ahearn
2022-11-14 16:04:49 -05:00
parent ce4dbaa8c5
commit f9d9a66315
4 changed files with 7 additions and 0 deletions

View File

@@ -3,5 +3,6 @@ web_instances: 1
web_memory: 1G web_memory: 1G
worker_instances: 1 worker_instances: 1
worker_memory: 512M worker_memory: 512M
scheduler_memory: 256M
public_api_route: notify-api-demo.app.cloud.gov public_api_route: notify-api-demo.app.cloud.gov
admin_base_url: https://notify-demo.app.cloud.gov admin_base_url: https://notify-demo.app.cloud.gov

View File

@@ -3,5 +3,6 @@ web_instances: 2
web_memory: 1G web_memory: 1G
worker_instances: 1 worker_instances: 1
worker_memory: 512M worker_memory: 512M
scheduler_memory: 256M
public_api_route: notify-api.app.cloud.gov public_api_route: notify-api.app.cloud.gov
admin_base_url: https://notify.app.cloud.gov admin_base_url: https://notify.app.cloud.gov

View File

@@ -3,5 +3,6 @@ web_instances: 1
web_memory: 1G web_memory: 1G
worker_instances: 1 worker_instances: 1
worker_memory: 512M worker_memory: 512M
scheduler_memory: 256M
public_api_route: notify-api-staging.app.cloud.gov public_api_route: notify-api-staging.app.cloud.gov
admin_base_url: https://notify-staging.app.cloud.gov admin_base_url: https://notify-staging.app.cloud.gov

View File

@@ -23,6 +23,10 @@ applications:
instances: ((worker_instances)) instances: ((worker_instances))
memory: ((worker_memory)) memory: ((worker_memory))
command: ./scripts/run_app_paas.sh celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=4 command: ./scripts/run_app_paas.sh celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=4
- type: scheduler
instances: 1
memory: ((scheduler_memory))
command: ./scripts/run_app_paas.sh celery -A run_celery.notify_celery beat --loglevel=INFO
env: env:
NOTIFY_APP_NAME: api NOTIFY_APP_NAME: api