wunderio / drupal-project

Wunder's template for Drupal projects designed to work automatically with Lando, CircleCI and Helm.
GNU General Public License v2.0
35 stars 6 forks source link

Define USER www-data for PHP container #377

Closed tormi closed 11 months ago

tormi commented 11 months ago

The problem

Currently, the default PHP container user is root, which is not a best practice and causes file permission issues. Let's use www-data instead.

This is also implemented in our Silta testbed: https://github.com/wunderio/drupal-project-k8s/blob/master/silta/php.Dockerfile#L8