ricardotulio / docker-magento

1 stars 2 forks source link

Fail on write logs/reports due to user restrictions on workdir #7

Open devdrops opened 7 years ago

devdrops commented 7 years ago

Noticed yesterday: when Magento fires up a report/log, the file is not being generated due to lack of permissions on the workdir /var/www (I've executed a chmod 777 -R /var/www/var to check these files), as defined in the docker-compose.yml below:

magento:
    image: ricardotulio/magento:master
    env_file: .env
    volumes:
        - .:/opt/docker/magento/module/
    working_dir: /var/www
    ports:
        - "80:80"
devdrops commented 7 years ago

Check if #9 changes may solve this issue :wink: