Skip to content

Commit 58dcbea

Browse files
authored
install plugin packages on start (#2298)
1 parent 91c5ddb commit 58dcbea

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docker/entrypoint.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ else
3131
echo "Generated app key written to .env file"
3232
else
3333
echo "APP_KEY exists in environment, using that."
34-
echo "APP_KEY=$APP_KEY" > /pelican-data/.env
34+
echo "APP_KEY=${APP_KEY}" > /pelican-data/.env
3535
fi
3636

3737
# enable installer
@@ -47,7 +47,7 @@ if [ "${APP_INSTALLED}" = "true" ]; then
4747
if [ "${DB_CONNECTION}" != "sqlite" ]; then
4848
# check for DB up before starting the panel
4949
echo "Checking database status."
50-
until nc -z -v -w30 $DB_HOST $DB_PORT
50+
until nc -z -v -w30 "${DB_HOST}" "${DB_PORT}"
5151
do
5252
echo "Waiting for database connection..."
5353
# wait for 1 seconds before check again
@@ -59,6 +59,8 @@ if [ "${APP_INSTALLED}" = "true" ]; then
5959

6060
# run migration
6161
php artisan migrate --force
62+
63+
php artisan p:plugin:composer
6264
fi
6365

6466
echo "Optimizing Filament"

0 commit comments

Comments
 (0)