Compare commits
No commits in common. "4157b4bb2108c891a8be5f96cb7fd9bcb04012da" and "dc19006738288b908efc5cd5afc4943efd481c17" have entirely different histories.
4157b4bb21
...
dc19006738
@ -1,10 +0,0 @@
|
|||||||
lexik_jwt_authentication:
|
|
||||||
# in production, the secret must be located in an environment variable
|
|
||||||
# for converting the file to a raw variable, use this command:
|
|
||||||
#
|
|
||||||
# cat path/to/private_or_public.pem | base64 -w0
|
|
||||||
#
|
|
||||||
# then copy past the printed string into the dedicated environment variable
|
|
||||||
secret_key: '%env(base64:resolve:JWT_SECRET_KEY)%'
|
|
||||||
public_key: '%env(base64:resolve:JWT_PUBLIC_KEY)%'
|
|
||||||
pass_phrase: '%env(JWT_PASSPHRASE)%'
|
|
@ -1,2 +1,3 @@
|
|||||||
wopi:
|
wopi:
|
||||||
server: "%env(resolve:WOPI_SERVER)%"
|
server: "%env(resolve:WOPI_SERVER)%"
|
||||||
|
access_token_ttl: 0
|
||||||
|
@ -35,6 +35,11 @@ services:
|
|||||||
resource: '../src/Service/'
|
resource: '../src/Service/'
|
||||||
|
|
||||||
|
|
||||||
|
Chill\WopiBundle\Service\Wopi\ChillWopi:
|
||||||
|
decorates: ChampsLibres\WopiLib\Contract\Service\WopiInterface
|
||||||
|
arguments:
|
||||||
|
$cache: '@cache.user_data'
|
||||||
|
|
||||||
ChampsLibres\WopiLib\Service\DocumentLockManager:
|
ChampsLibres\WopiLib\Service\DocumentLockManager:
|
||||||
arguments:
|
arguments:
|
||||||
$cache: '@cache.user_data'
|
$cache: '@cache.user_data'
|
||||||
|
@ -36,12 +36,6 @@ fi
|
|||||||
if [ "${APP_ENV}" = "prod" ]; then
|
if [ "${APP_ENV}" = "prod" ]; then
|
||||||
composer dump-env "${APP_ENV}"
|
composer dump-env "${APP_ENV}"
|
||||||
chmod +r /var/www/app/.env.local.php
|
chmod +r /var/www/app/.env.local.php
|
||||||
|
|
||||||
if [ "${PREVENT_MIGRATIONS}" != "true" ]; then
|
|
||||||
php /var/www/app/bin/console doctrine:migrations:status
|
|
||||||
php /var/www/app/bin/console doctrine:migrations:migrate -n
|
|
||||||
php /var/www/app/bin/console messenger:setup-transports
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${CLEAR_CACHE}" != "false" ]; then
|
if [ "${CLEAR_CACHE}" != "false" ]; then
|
||||||
@ -51,5 +45,11 @@ if [ "${CLEAR_CACHE}" != "false" ]; then
|
|||||||
chgrp ${PHP_FPM_GROUP} /var/www/app/var/log -R && chmod g+rw /var/www/app/var/log -R
|
chgrp ${PHP_FPM_GROUP} /var/www/app/var/log -R && chmod g+rw /var/www/app/var/log -R
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${PREVENT_MIGRATIONS}" != "true" ]; then
|
||||||
|
php /var/www/app/bin/console doctrine:migrations:status
|
||||||
|
php /var/www/app/bin/console doctrine:migrations:migrate -n
|
||||||
|
php /var/www/app/bin/console messenger:setup-transports
|
||||||
|
fi
|
||||||
|
|
||||||
exec "${@}"
|
exec "${@}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user