you can use an instance that has docker on it, then setup docker compose files with wordpress, git , apache and setup a port. then on the machine setup virtualhost to point to the entry tcp port of the docker instance. then all you have to do is build the docker instances . You can mantaint all that with git and handle all of your deployments that way.