Deploy Pimcore with docker-compose multistage
- Official PHP docker image: 7.3-fpm
- PHP 7.3 fpm
- Pimcore v6
Pimcore, the leading open-source enterprise software platform for PIM, DAM & eCommerce
Docker hub dev image: https://cloud.docker.com/repository/docker/trydirect/pimcore:6-dev Docker hub prod image: https://cloud.docker.com/repository/docker/trydirect/pimcore:6-prod
docker-compose exec pimcore bash -c 'chmod 0777 -R app/config bin composer.json pimcore var web/var'
docker-compose exec pimcore sh -c './vendor/bin/pimcore-install --no-interaction --admin-username=pimcore --admin-password=pimcore --mysql-host-socket=db --mysql-username=root --mysql-password=pimcore --mysql-database=pimcore'