mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
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:
commit
7d351c13fe
3 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue