mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-11 07:42:20 -05:00
Run celery beat on cloud.gov
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user