I am planning to create a shared WordPress hosting system for clients.
The needed services are : PHP, MySQL/MariaDB, SFTP, (Nginx/Apache : which one is better and faster and more secure ? )
- If i am going to use Docker then the applications are going to be mounted on a volume on the Docker host the container will include the PHP files.
- If on a physical CentOS or Ubuntu host then all the websites will share the same PHP files.
The Nginx/Apache will be one for all the websites, and one database engine to serve them all.
Have anyone done such scenario? what do you suggest, what are the advantages and disadvantages in both cases.