Multiple WordPress Sites on Docker

See How Containers Help Deploy Web Applications

Moving from a hosting account to a virtual or dedicated server? With add-on domains in cPanel, you could host a virtually unlimited number of sites on your account. A cloud compute instance, such as one from AWS, provides you with a single IP address. As you might know, only one web server can bind to port 80 at a time – so how do you host multiple websites on your own Linux box?

The amount of CPU and RAM on your own server is more than the shared pool of resources normally on a hosting account. If your websites are not extremely high traffic (less than 5,000 visitors/month), why let the excess resources go to waste? An instance with 2 to 4 GB of RAM could easily host multiple WordPress sites.

You can run multiple WordPress websites using a single MySQL database server and virtual hosts configuration in Apache, but nowadays, there’s an easier, more “cloud native” way to achieve the same result: Docker. Docker is a container runtime that gives each application its own user space, complete with process tree and file system, on a single Linux machine.

Reasons to Use Docker to Containerize Traditional Apps

  • Easy to deploy – With Docker, you pull app images directly from a repository with all the dependencies they need built in. In general, each container is responsible for a single service, hence the saying “micro-services architecture.” In the past, a single “monolithic” app would have many components that you would individually need to download the runtimes for.
  • Portable – If any of your containers outgrow the physical infrastructure it lives on, you can use the commands docker commit (create a new image of the container with your additions to the layered file system), docker export (download a tar archive of the container) and docker save (download a tar archive of the attached volumes) to back it up. With a scheduling and orchestration tool such as Docker Swarm or Kubernetes, you can even scale up a service across a Docker cluster with a single command.
  • Secure – Docker containers are isolated from one another, making it difficult for an attacker to gain access to other services from a single compromised application. Unless you are running a container with the –privilegedflag, a container has very limited permissions on the host system, protecting the kernel from a malicious attack.

TrueView People Counter®

Developed to count visitors entering a location TrueView People Counter® is the leading application for foot traffic. It is built on the most advanced algorithms for intelligent video available in the world. TrueView People Counter® runs fully embedded in standard ceiling mounted network cameras and automatically counts in real time the number of people passing under the camera and in what direction.

Which Type of People Counter is Best for You?

People counting technology can serve many purposes, beyond simply tallying up how many visitors come through your doors. Different solution sets can accurately track your busiest hours and days; chart how people actually move through your establishment; help you determine if you are over- or under-staffed; and even enhance your security/loss prevention capabilities. Of course, not all people counters perform all these functions. The technology comes in many shapes and sizes, offering solutions that can be shaped for differing budgets, entrance configurations and building layouts, as well as required accuracy levels and analytical capabilities. This eBook will explore currently available people counting technology options, highlighting the environments and business needs that each option is best suited for.