mzazon / php-apache-mysql-containerized

A brief demo of containerizing php apache and mysql with Docker using some best practices.
197 stars 174 forks source link

setting permissions on PROJECT_ROOT volume #11

Open DonnyVerduijn opened 5 years ago

DonnyVerduijn commented 5 years ago

How should i circumvent the problem where the data from the volume in the PROJECT_ROOT directory (from the host) is owned by root? It is not desirable to copy the files into the container. Is there another way to chown to files to www-data?