How to deploy a modular (multi-user) system for CloundFoundry

I would like to deploy a modular grails application for cloudfoundry. There, the user-facing application must be installed in ROOT as usual, but then there is a separate administration system that must be deployed in one instance (s) in / admin.

But it looks like you can only deploy one application per instance for ROOT?

+4
source share
1 answer

Yes.

I understand that there is no concept of deploying multiple applications on the same application server instance. In most cases, this is normal. In our BI application, we typically deploy it in the same tomcat instance as another application. But instead, we deploy it separately. It can access the same databases, and nothing prevents Single Sign On between applications or other integration features from adding.

EDIT : application1 supposedly works well and uses some database. If you want application2 to access the same data, you can just bind it:

vmc bind-service my-database-service application2 

Alternatively, of course, you could combine your two applications together. This is likely to give the desired result ... but it is probably a great effort.

+1
source

Source: https://habr.com/ru/post/1388672/


All Articles