Merge pull request #132 from GSA/exec-startup-command

Exec web startup command
This commit is contained in:
Ryan Ahearn
2022-12-01 15:59:39 -05:00
committed by GitHub
4 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
env: demo
web_instances: 1
web_instances: 2
web_memory: 1G
worker_instances: 1
worker_memory: 512M

View File

@@ -3,6 +3,7 @@ web_instances: 1
web_memory: 1G
worker_instances: 1
worker_memory: 512M
scheduler_memory: 256M
public_api_route: notify-api-sandbox.app.cloud.gov
admin_base_url: https://notify-sandbox.app.cloud.gov
ADMIN_CLIENT_SECRET: dev-notify-secret-key

View File

@@ -1,5 +1,5 @@
env: staging
web_instances: 1
web_instances: 2
web_memory: 1G
worker_instances: 1
worker_memory: 512M

View File

@@ -4,4 +4,4 @@ if [[ $CF_INSTANCE_INDEX -eq 0 ]]; then
flask db upgrade
fi
gunicorn -c ${HOME}/gunicorn_config.py application
exec gunicorn -c ${HOME}/gunicorn_config.py application