Skip to content

1.8.0

Compare
Choose a tag to compare
@rootpd rootpd released this 24 Mar 08:39
· 25 commits to master since this release
851bcd4
  • 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:
      1. Find out what is the UID and GID of your user:

        id -u # UID
        id -g # GID
        whoami # UNAME
        
      2. Update .env file in the root of crm 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
        
      3. 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 the chown command.

      4. Rebuild the docker images, clear caches, and start them again:

        docker compose stop
        docker compose build crm adminer
        docker-compose up -d
        
  • Updated PHPstan configuration to reflect the latest changes, level 2 is now met.