Metadrop / drupal-boilerplate

Drupal projects up and running with Docker and many other tools in minutes
28 stars 23 forks source link

Refactor volumes to improve files permissions managements for Continuous integration systems #66

Closed omarlopesino closed 1 year ago

omarlopesino commented 2 years ago

Problem

Currently, the docker-compose file defines the codebase volume to allow developers to sync straight what they develop with the PHP / Nginx containers. This works great for local environments but not in a continuous integration environment. Continuous integrations systems do several steps of write/read actions such as copying settings files, generating/parsing static analysis tools like PHP, etc. With a docker4drupal system, there are actions that read/write files outside or inside the containers when a CI job is run, This leads to a lot of permission denied errors as typically the user's uids from the host and the containers are different.

Solution

lpeidro commented 1 year ago

Ok, thank you Omar, I review it.

omarlopesino commented 1 year ago

This is already done and released. Closing.