fix: generate JWT keys on first launch

This commit is contained in:
Maël Gangloff 2024-08-15 18:14:01 +02:00
parent c989478144
commit f34c1a5d7e
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -53,6 +53,8 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
fi
fi
php bin/console lexik:jwt:generate-keypair || true
setfacl -R -m u:www-data:rwX -m u:"$(whoami)":rwX var
setfacl -dR -m u:www-data:rwX -m u:"$(whoami)":rwX var
fi