minor #15992 Provide some Bunnyshell images improvements (jakubtobiasz)

This PR was merged into the 1.13 branch.

Discussion
----------

- env autorefreshing every hour
- hide notices/deprecations in the logs
- add generating keypair for jwt signing

Commits
-------
  maintenance(Bunnyshell): disable logging notices, strict errors and deprecations
  maintenance(Bunnyshell): add refreshing the environment every hour
  maintenance(Bunnyshell): add generating keypair for generating JWT tokens
This commit is contained in:
Jan Góralski 2024-03-14 09:33:17 +01:00 committed by GitHub
commit 7d351c13fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View file

@ -7,6 +7,7 @@ if [ "${1#-}" != "$1" ]; then
fi fi
php bin/console cache:clear php bin/console cache:clear
php bin/console lexik:jwt:generate-keypair
if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then
mkdir -p var/cache var/log var/sessions public/media mkdir -p var/cache var/log var/sessions public/media

View file

@ -1,2 +1,3 @@
* * * * * php /srv/sylius/bin/console sylius:remove-expired-carts * * * * * php /srv/sylius/bin/console sylius:remove-expired-carts
* * * * * php /srv/sylius/bin/console sylius:cancel-unpaid-orders * * * * * php /srv/sylius/bin/console sylius:cancel-unpaid-orders
0 * * * * php /srv/sylius/bin/console sylius:fixtures:load -n

View file

@ -3,5 +3,6 @@ post_max_size=6M
upload_max_filesize=5M upload_max_filesize=5M
realpath_cache_size=4096K realpath_cache_size=4096K
realpath_cache_ttl=600 realpath_cache_ttl=600
error_reporting=E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
date.timezone=${PHP_DATE_TIMEZONE} date.timezone=${PHP_DATE_TIMEZONE}