1.8.0
- Bumped CRM modules to v2.4.
- Updated docker-compose configuration and PHP's Dockerfile to get rid of root user and related access right issues.
- To make sure you use the same user/group within the docker images as in the host machine, follow these steps:
-
Find out what is the
UID
andGID
of your user:id -u # UID id -g # GID whoami # UNAME
-
Update
.env
file in the root ofcrm
project (based on the.env.example
):# these are default values in docker-compose.yml; no need to change if your UID:GID are 1000:1000 UID=1000 GID=1000 UNAME=docker
-
Transfer owner of generated files created by previous version of image (owned by
root
user) to user who will use them from now on:sudo chown -R 1000:1000 content log temp vendor .env
If you changed the default
UID
/GID
to something different, use that in thechown
command. -
Rebuild the docker images, clear caches, and start them again:
docker compose stop docker compose build crm adminer docker-compose up -d
-
- To make sure you use the same user/group within the docker images as in the host machine, follow these steps:
- Updated PHPstan configuration to reflect the latest changes, level 2 is now met.