The official joomla:4-apache image installs into /var/www/html in the container. I am using docker-compose with persistent volumes accessible from the host. The official image works fine all I need to do is create a new website in /var/www/html . However, I need to restore an Akeeba backup from a cPanel host into a new Docker container. I can restore onto a bare-metal host without a problem, but not successfully into a Docker container. The only visible difference is the document root.
Is there an easy way to change the document root to install Joomla into /home/customer/public_html instead?
I was hoping that there would be an environment variable like 'APACHE_DOCUMENT_ROOT' but I don't appear to be that lucky. Do I really have to develop my own custom image to change the document root in the Docker container?
Is there an easy way to change the document root to install Joomla into /home/customer/public_html instead?
I was hoping that there would be an environment variable like 'APACHE_DOCUMENT_ROOT' but I don't appear to be that lucky. Do I really have to develop my own custom image to change the document root in the Docker container?
Statistics: Posted by vmb — Wed Sep 18, 2024 5:01 pm