Few thoughts
- Would a single app-server (Tomcat running OMRS) be good enough? maybe - however OMRS server does take fair amount of resources. So can’t imagine on say 2 GB memory pod!
- Creating the database (through liquibase) is possible - just spin up another instance that will create a database and subsequently die.
- The single app server will need some dynamic lookup of different data sources/connections. This may require some code changes?
- Lucene indexes - prefer different indexes for different instances (different volumes mounted). Otherwise every patient must be associated with a clinic/hospital in the index and search modified to include that filter - should be easy. But not really absolute segregation of data.
- Documents that are uploaded, also need to be segregated - but that should be easy enough. e.g. different S3 bucket