Running multiple sites and then installing tutor

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

@SayHi you might be interested in the solution proposed by @LTorrao, which uses a separate docker-based nginx proxy: https://hub.docker.com/r/jwilder/nginx-proxy/

Good luck!

1 Like