CloudFoundry application opening two ports

前端 未结 4 1738
攒了一身酷
攒了一身酷 2021-01-18 10:45

I have a CF application that opens two ports. AFAIK CF can create routing on only for one of them - to the one that is located in VCAP_APP_PORT or PORT

4条回答
  •  一整个雨季
    2021-01-18 11:06

    Currently an application on Cloud Foundry is not able to have two ports mapped into its container environment. As part of the new Diego runtime, multiple port mappings has been exposed, but is not currently available through the API.

    Depending on what you need, you could take a look at Lattice, which uses the Diego runtime. Some documentation can be found here.

提交回复
热议问题