Health check never happy

running latest v5 via Docker, the health check ALWAYS complains about “Config not cached” - I have cleared the cache and refreshed countless times but the warning remains.

Any hints on how to fix this?

image

Hi,

Have you tried running php artisan optimize from the command line?

yes I did and there was no change

~ $ php artisan optimize
Configuration cache cleared!
Configuration cached successfully!
Route cache cleared!
Routes cached successfully!
Files cached successfully!

@david any thoughts?

I think it is an artifact of docker, the env() method will always return true.

Ok, thanks, I’ll disable it for Docker then.