mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
Update docs about how to enable and disable failwhale
This commit is contained in:
@@ -10,21 +10,17 @@ It should already be deployed, but if not you can deploy it by running
|
|||||||
|
|
||||||
cf push notify-admin-failwhale
|
cf push notify-admin-failwhale
|
||||||
|
|
||||||
To direct traffic to it you need to update the routes by running
|
To enable it you need to run
|
||||||
|
|
||||||
cf map-route notify-admin-failwhale [ENVIRONMENT-URL] --hostname www
|
make <environment> enable-failwhale
|
||||||
cf unmap-route notify-admin [ENVIRONMENT-URL] --hostname www
|
|
||||||
|
|
||||||
To remove admin failwhale:
|
and to disable it
|
||||||
|
|
||||||
cf map-route notify-admin [ENVIRONMENT-URL] --hostname www
|
make <environment> disable-failwhale
|
||||||
cf unmap-route notify-admin-failwhale [ENVIRONMENT-URL] --hostname www
|
|
||||||
|
|
||||||
|
|
||||||
Where [ENVIRONMENT-URL] would be one of:
|
Where <environment> is any of
|
||||||
|
|
||||||
- notify.works for preview
|
- preview
|
||||||
- notify-staging.works for staging
|
- staging
|
||||||
- notifications.service.gov.uk for production
|
- production
|
||||||
|
|
||||||
**Make sure you are on the correct environment!**
|
|
||||||
|
|||||||
Reference in New Issue
Block a user