Hello, I am not very acquainted with servers, so I am trying to follow the simpler solutions I find. Yet, I need help, please.
I need to have wordpress website 1, wp website 2, wp website 3 and also tutor openedx running on a same machine, each with different domains and subdomains.
I make a note that this installation requires an internal network ( “–net dockerwp”) for every container to communicate with each other.
This tutorial is straightforward and I get the wp sites done and running, despite more than 10 years have passed since I have installed a content management system and many things have since then changed (for good, like docker, etc).
But then I am not getting through with the final part, which is installing and running tutor on its own domain and subdomains but in this same machine.
Either because the 80 port is already allocated or because I cannot find a way to successfully add it to the internal network required in the above tutorial “–net dockerwp”… I’m not moving forward…
Could you please help me out in establishing a roadmap for going from the mentioned wp installation tutorial to installing tutor openedx in a simple fashion?
You will need to add the VIRTUAL_HOST environment variable to the nginx container. To achieve this I suggest you add an docker-compose.override.yml file to the tutor environment. See this conversation which is relevant: Traefik with Tutor and Wordpress
Am I interpreting correctly? Add a docker-compose.override.yml to tutor /tutor/ templates / local / with the VIRTUAL_HOST environment variable for nginx with the domains and ports chosen for LMS and CMS?