CodelyTV / php-ddd-example

🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 7
https://pro.codely.tv/library/ddd-en-php
2.98k stars 1.08k forks source link

fix: Run fpm as current host user instead of www-data #291 #292

Closed JoniJnm closed 2 years ago

JoniJnm commented 2 years ago

This fixes #291

$ docker exec -it codelytv-php_ddd_skeleton-mooc_backend-php ps
PID   USER     TIME  COMMAND
    1 1000      0:00 symfony serve --dir=apps/mooc/backend/public --port=8030 -
   21 1000      0:00 php-fpm: master process (/.symfony/php/e6bff699f92947e5351
   22 1000      0:00 php-fpm: pool www
   23 1000      0:00 php-fpm: pool www
   33 1000      0:00 ps
rgomezcasas commented 2 years ago

With this changes psalm is unable to create the cache dir, can you take a look to it? 😊

Btw, thanks for the pr 😊

JoniJnm commented 2 years ago

fixed

the idea is: