Closed frostyandy2k closed 7 years ago
How did you start the container?
Be sure to have the /var/www/compose.json
from Contao 4 before you start. The container should adjust the DocumentRoot for you:
https://github.com/psi-4ward/docker-contao/blob/master/rootfs/run-httpd#L4
Hi, I was probably doing something wrong or not copying the correct files. Thank you for your response, I will need some time to try it out thoroughly.
But now I understand how it works.
Due to the change in Contao 4 I cannot run the install tool because web is not the document root.
The apache servers /var/www, but contao will not be happy unless only web/ is seen from outside.
I tried creating a virtual host but neither a2ensite or a2enmod are available in your container. How did you manage to run it?
Also there are no sites files. The apache2 folder is named httpd. However, all tutorials use:
cp /etc/apache2/sites-available/default /etc/apache2/sites-available/example.com
Contao Error message: