need to host api server (nodejs, Express , mongodb) with nginx reverse proxy. Do you charge per docker container if this needs 2?

Locally I’ve implemented this and as it has pulled docker image for mongodb and attached to main image, eventually it ends up creating 2 containers (I’m assuming a container is a droplet).

Should I create a customesed image in order to have only one image and thus creating one container on one droplet?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Thanks. I should have spent little time on this before asking this question🙂

A container is not the same as a droplet. A droplet would be considered a Virtual Private Server of which you would install the necessary applications you need to run your application(s). This would include the docker engine, git, NGINX, etc…

Once your droplet is configured to run containers you can host as many as you like within it with the only restriction being the resources allocated to that droplet.