Change /shared/httpd directory

I already have a legacy project and it has hard-coded in many files the directory /var/www/project_name. The problem is it’s already used in production and all the servers are configured to serve it under /var/www/project_name so a change in the project is rather unlikely.

My question is, if it’s possible to change the default internal directory /shared/httpd to /var/www.

I think I could probably change the docker-compose.yml but then I would need to change it every time I update Devilbox.

Then development is rather unlikely ;p
Nonetheless, I suppose the correct way is still to adjust the project not to have hardcoded file paths.

Alternatively you could create a custom Docker Compose setup specifically for this very project.