Pimcore Docker

PHOTO EMBED

Mon Jan 17 2022 08:34:07 GMT+0000 (Coordinated Universal Time)

Saved by @swina #docker #pimcore

/* clone repo */
git clone ...

/* docker up */
docker-compose up -d

/* Install pimcore dependencies*/
docker exec -it php-fpm /bin/bash
composer install

/* Install pimcore and define local db */
docker-compose exec php-fpm vendor/bin/pimcore-install --mysql-host-socket=db --mysql-username=pimcore --mysql-password=pimcore --mysql-database=pimcore

/* change owner to ./var folder */
docker-compose exec php-fpm chown -R www-data:www-data var
content_copyCOPY