Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Fix VCAP_APP_PORT advisory in migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
emalm committed Oct 31, 2016
1 parent 9a27440 commit 7dd883f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions migrating-to-diego.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,15 +214,19 @@ Additionally, while Diego does now provide `application_uris` and its undocument

The DEAs currently set this environment variable to `0.0.0.0` in all cases.

##### Workarounds

- None: unfortunately, Cloud Controller disallows users from setting the `VCAP_APP_HOST` environment variable on an app, or indeed any environment variable prefixed with `VCAP_`. It is recommended that you migrate away from the `VCAP_APP_HOST` environment variable, especially as it no longer provides useful information for the app instance.


#### `VCAP_APP_PORT`

This environment variable is deprecated. Apps should now use `PORT` or `CF_INSTANCE_PORT` instead.
This environment variable is deprecated. Apps should now determine the port on which to listen from the `PORT` environment variable instead. Note that [`CF_INSTANCE_PORT` generally has a different value](http://docs.cloudfoundry.org/devguide/deploy-apps/environment-variable.html#CF-INSTANCE-PORT) and so should not be used as a replacement.


##### Workarounds

- Unfortunately, Cloud Controller disallows users from setting the `VCAP_APP_HOST` environment variable on an app, or indeed any environment variable prefixed with `VCAP_`. It is recommended that you migrate away from the `VCAP_APP_HOST` environment variable, especially as it no longer provides useful information for the app instance.
- None: unfortunately, Cloud Controller disallows users from setting the `VCAP_APP_PORT` environment variable on an app, or indeed any environment variable prefixed with `VCAP_`.


### Disk Quota Over-Enforcement during Container Setup
Expand Down

0 comments on commit 7dd883f

Please sign in to comment.