Skip to content

Commit

Permalink
[Docs] Fix Docker install instruction
Browse files Browse the repository at this point in the history
Recursive chmod directory `var` instead of its content.

Fixes "Unable to create a directory at /var/www/html/var/admin. mkdir(): Permission denied" when user mapping is not being used.
  • Loading branch information
Dominik authored and brusch committed Nov 10, 2021
1 parent 6bf12fe commit 9d25d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ docker run --rm -v `pwd`:/var/www/html pimcore/pimcore:PHP8.0-fpm composer creat
cd ./my-project
docker-compose up -d
docker-compose exec php-fpm vendor/bin/pimcore-install --mysql-host-socket=db --mysql-username=pimcore --mysql-password=pimcore --mysql-database=pimcore
docker-compose exec php-fpm chown -R www-data:www-data var/*
docker-compose exec php-fpm chown -R www-data:www-data var

```
You can now navigate your browser to https://localhost or https://localhost/admin.
Expand Down

0 comments on commit 9d25d02

Please sign in to comment.