diff --git a/.bunnyshell/docker/php/entrypoints/php-entrypoint b/.bunnyshell/docker/php/entrypoints/php-entrypoint index b8fee83da8..64aa985a0c 100644 --- a/.bunnyshell/docker/php/entrypoints/php-entrypoint +++ b/.bunnyshell/docker/php/entrypoints/php-entrypoint @@ -7,6 +7,7 @@ if [ "${1#-}" != "$1" ]; then fi php bin/console cache:clear +php bin/console lexik:jwt:generate-keypair if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then mkdir -p var/cache var/log var/sessions public/media diff --git a/.bunnyshell/docker/php/files/crontab b/.bunnyshell/docker/php/files/crontab index c8fe77b70a..1e29225d9b 100644 --- a/.bunnyshell/docker/php/files/crontab +++ b/.bunnyshell/docker/php/files/crontab @@ -1,2 +1,3 @@ * * * * * php /srv/sylius/bin/console sylius:remove-expired-carts * * * * * php /srv/sylius/bin/console sylius:cancel-unpaid-orders +0 * * * * php /srv/sylius/bin/console sylius:fixtures:load -n diff --git a/.bunnyshell/docker/php/prod/php.ini b/.bunnyshell/docker/php/prod/php.ini index 31170a769d..2495f7a3fe 100644 --- a/.bunnyshell/docker/php/prod/php.ini +++ b/.bunnyshell/docker/php/prod/php.ini @@ -3,5 +3,6 @@ post_max_size=6M upload_max_filesize=5M realpath_cache_size=4096K realpath_cache_ttl=600 +error_reporting=E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED date.timezone=${PHP_DATE_TIMEZONE}