Open mattias-p opened 2 years ago
If it is a single dockerfile then I assume that both RPC-API and Testagent will be running in that container. Possibly with SQLite with the database engine to make it light weight?
I believe the idea is to run the services in separate containers based on the same image. If it's a good idea to run multiple services in the same container we could add that as an additional feature.
I guess it depends on what use case that should be supported. If testing backend on the laptop is the use case, then a single container is probably cheaper. If running backend for production is the use case, then running separate containers is probably better.
We should have a Dockerfile for Backend. It's been suggested that we have a single Dockerfile for all of Backend, with support for running either zm-rpcapi or zm-testagent using different entry points. At the time of writing it is unclear to me how the DBMS, Backend configuration and Engine profile should be deployed. It would be nice if these could be user configurable.