Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How many containers should I run on the 5$/m droplet ?
I’m just getting started with docker, I created my first droplet (via the Docker pre-built set-up) and have pointed two domain names to the droplet’s IP.
The first domain would be my personal site to play around with, so I would like to test different images/blogs etc. - for the moment I will set it up with Ghost using the official Docker Ghost image.
The second domain will contain 2 sub-sites for my other half and her sister to create a simple portfolio/blog site… for the moment with Ghost but I will possibly switch to Wordpress as it’s easier for an end-user.
Therefore, I plan to have at least 3 “portfolio” sites running 3 Ghost images or 1x Ghost + 2x Wordpress.
After checking just the 3 Ghost images running, alongside Nginx image and Docker-Gen - I seem to use 95% memory, I suppose it’s normal but I don’t know of any ways to test load.
Will I be able to run other sub-sites from the second domain?
Also what is a good set-up for dockerfiles and directories for each site ? I figured I would follow:
With a docker and site folder inside, like so:
Although I’m still trying to wrap my head around how a Data Container works, I need an easy way to login and update or tweak files like adding a new theme or plugin to ghost.
Thanks in advance!
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.×