You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current API microgateway combines ngnix and node.js using a docker compose file, which results in two separate container instances. We should use a single docker image that runs both processes within a single container. This can be done using supervisord, and still leverage Dockerfile for building each Docker image (node.js & ngnix).
The text was updated successfully, but these errors were encountered:
Maybe. You're then combining a theoretically multi-tenant front-end (nginx) with a decidedly single-tenant backend (node.js microgateway). I suppose it should be possible to run them in a single container, but I doubt if that should be done for anything real-world.
There is also a non-trivial cost in terms of image size and complexity to running supervisord.
The current API microgateway combines ngnix and node.js using a docker compose file, which results in two separate container instances. We should use a single docker image that runs both processes within a single container. This can be done using supervisord, and still leverage
Dockerfile
for building each Docker image (node.js & ngnix).The text was updated successfully, but these errors were encountered: