简体   繁体   English

Cloud Foundry中的用户定义服务

[英]User defined service in cloud foundry

How to create the user defined service in cloud Foundry. 如何在Cloud Foundry中创建用户定义的服务。 I have spring boot app which i want to host as a service. 我有一个春季启动应用程序,我想作为服务托管。 I want this application to be exposed as service so that, the other apps that bind to this would use it by default. 我希望将此应用程序公开为服务,以便绑定到此的其他应用程序默认情况下将使用它。

Any help is appreciated. 任何帮助表示赞赏。

You can create user defined services using Cloud Foundry CLI commands. 您可以使用Cloud Foundry CLI命令创建用户定义的服务。

cf cups SERVICE_INSTANCE -p '{"username":"admin","password":"password"}'

Doc Link: https://docs.cloudfoundry.org/devguide/services/user-provided.html Doc链接: https : //docs.cloudfoundry.org/devguide/services/user-provided.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM