We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3884da7 commit 03ba943Copy full SHA for 03ba943
1 file changed
src/common/etc/entrypoint.d/50-laravel-automations.sh
@@ -4,6 +4,7 @@ script_name="laravel-automations"
4
# Global configurations
5
: "${DISABLE_DEFAULT_CONFIG:=false}"
6
: "${APP_BASE_DIR:=/var/www/html}"
7
+: "${OCTANE_SERVER:=off}"
8
: "${AUTORUN_LIB_DIR:=/etc/entrypoint.d/lib}"
9
10
# Set default values for Laravel automations
@@ -428,10 +429,10 @@ if laravel_is_installed; then
428
429
430
echo "🤔 Checking for Laravel automations..."
431
# If OCTANE_SERVER is set, run the Octane setup
- if [ -n "$OCTANE_SERVER" ]; then
432
+ if [ -n "$OCTANE_SERVER" ] && [ "$OCTANE_SERVER" != "off" ]; then
433
artisan_setup_octane
434
fi
-
435
+
436
if [ "$AUTORUN_LARAVEL_STORAGE_RECREATE" = "true" ]; then
437
artisan_storage_recreate
438
0 commit comments