brefphp / laravel-bridge

Package to use Laravel on AWS Lambda with Bref
https://bref.sh/docs/frameworks/laravel.html
MIT License
319 stars 63 forks source link

Added environment variable not to run config:cache #128

Closed sunaoka closed 1 year ago

sunaoka commented 1 year ago

Addition of environment variable BREF_LARAVEL_CACHE_CONFIG that does not run config:cache.

Fixed #105

I didn't know how to write the test, so I checked it manually.

Local development (Docker Compose)

services:
  app:
    environment:
      BREF_LARAVEL_CACHE_CONFIG: 0 # true, false, 0, 1

Lambda

functions:
  app:
    environment:
      BREF_LARAVEL_CACHE_CONFIG: 0 # true, false, 0, 1