EnAccess / micropowermanager

Open Source Management Tool for Decentralized Utilities.
https://micropowermanager.io/
MIT License
2 stars 4 forks source link

[Bug]: Laravel Health route is broken #290

Open dmohns opened 1 month ago

dmohns commented 1 month ago

Preflight Checklist

Expected Behavior

curl localhost:8000/up

returns 200,

This is helpful in Kubernetes deployment scenarios.

Additionally, once this works, please add a HEALTHCHECK to our Dockerfile, see https://docs.docker.com/reference/dockerfile/#healthcheck

Actual Behavior

curl localhost:8000/up

returns 500. Because of the compnayId logic in routes.

Steps to reproduce

See above

What operating system(s) are you using?

macOS

Additional Information

See details: https://laravel.com/docs/11.x/deployment#the-health-route