Bottelet / DaybydayCRM

DaybydayCRM an open-source CRM, to help you keep track of your daily workflow.
https://daybydaycrm.com
2.24k stars 752 forks source link

Unable to install with docker #198

Closed daemex closed 3 years ago

daemex commented 3 years ago

Hello, I have attempted to install via docker following the instructions but I'm having an issue.

Capture

That happens after I run: sudo docker-compose exec php composer install

Seems like a permissions issue maybe, not sure. Please help, thanks!

rm-yakovenko commented 3 years ago

Hello @triptronics.

Could you try the following steps:

mkdir vendor
chmod a+w vendor
docker-compose build php
docker-compose exec php composer install

Internally, the docker container runs as the user with id 1000. Looks like the code was cloned by a user with a different id. That's why it cannot create the vendor folder and fails. The above steps should fix the issue, but I'm not sure that it's the best solution.

Bottelet commented 3 years ago

@triptronics Did you figure it out? If not please reopen the issue