You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The solution would be to set the default to /var/www/html and if the variable is set override the entirety of the default instead. Problem is that I don't see a way that keeps backward compatibility without introducing a secondary variable.
Context
The reason for me requesting this is because on my development environment I'm using Docker in Docker setup to control my environment from inside. When using docker-compose you'd want to have the path be the exact same as on your host system. This allows you to docker-compose ps your docker system.
The text was updated successfully, but these errors were encountered:
Expected Behavior
I think that
APACHE_DOCUMENT_ROOT
should be allowed to be set outside of/var/www/html
. Since regular Apache configuration allows it.Current Behavior
Currently you can only set a subfolder of
/var/www/html
:https://github.com/thecodingmachine/docker-images-php/blob/v2/Dockerfile.7.2.slim.apache#L77-L80
Possible Solution
The solution would be to set the default to
/var/www/html
and if the variable is set override the entirety of the default instead. Problem is that I don't see a way that keeps backward compatibility without introducing a secondary variable.Context
The reason for me requesting this is because on my development environment I'm using Docker in Docker setup to control my environment from inside. When using docker-compose you'd want to have the path be the exact same as on your host system. This allows you to docker-compose ps your docker system.
The text was updated successfully, but these errors were encountered: