mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
rename public-api to api
we don't use the public-api bit anywhere - even cloudwatch overwrites based on CW_APP_NAME (which we can get rid of as this distinction is gone)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{%- set app_vars = {
|
||||
'notify-api': {'NOTIFY_APP_NAME': 'public-api', 'disk_quota': '2G', 'sqlalchemy_pool_size': 20, 'routes': {
|
||||
'notify-api': {'NOTIFY_APP_NAME': 'api', 'disk_quota': '2G', 'sqlalchemy_pool_size': 20, 'routes': {
|
||||
'preview': ['notify-api-preview.cloudapps.digital', 'api.notify.works'],
|
||||
'staging': ['notify-api-staging.cloudapps.digital', 'api.staging-notify.works'],
|
||||
'production': ['notify-api-production.cloudapps.digital', 'api.notifications.service.gov.uk'],
|
||||
}
|
||||
},
|
||||
'notify-api-db-migration': {'NOTIFY_APP_NAME': 'public-api', 'instances': 0},
|
||||
'notify-api-db-migration': {'NOTIFY_APP_NAME': 'api', 'instances': 0},
|
||||
|
||||
'notify-delivery-celery-beat': {'NOTIFY_APP_NAME': 'delivery-celery-beat', 'instances': 1, 'memory': '128M'},
|
||||
'notify-delivery-worker-database': {'NOTIFY_APP_NAME': 'delivery-worker-database'},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
case $NOTIFY_APP_NAME in
|
||||
public-api)
|
||||
api)
|
||||
unset GUNICORN_CMD_ARGS
|
||||
scripts/run_app_paas.sh gunicorn -c /home/vcap/app/gunicorn_config.py application
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user