mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
Exec web startup command
This allows for app to receive process signals from cloud foundry
This commit is contained in:
@@ -3,6 +3,7 @@ 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-sandbox.app.cloud.gov
|
public_api_route: notify-api-sandbox.app.cloud.gov
|
||||||
admin_base_url: https://notify-sandbox.app.cloud.gov
|
admin_base_url: https://notify-sandbox.app.cloud.gov
|
||||||
ADMIN_CLIENT_SECRET: dev-notify-secret-key
|
ADMIN_CLIENT_SECRET: dev-notify-secret-key
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ if [[ $CF_INSTANCE_INDEX -eq 0 ]]; then
|
|||||||
flask db upgrade
|
flask db upgrade
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gunicorn -c ${HOME}/gunicorn_config.py application
|
exec gunicorn -c ${HOME}/gunicorn_config.py application
|
||||||
|
|||||||
Reference in New Issue
Block a user