A more complete but still simple illustration of the deployment of a Magnolia public and author instances with Docker Compose.
Docker compose is used to start four containers, a Magnolia public instance, a Magnolia author instance and their respective databases.
More details in this blog post.