health icon indicating copy to clipboard operation
health copied to clipboard

Support for multiple environments

Open Levivb opened this issue 5 years ago • 3 comments

Hey,

This seems like a nice package to support our dev team in ensuring everyone has a stable dev environment. I looked through the checks and right now it kinda supports only one configuration.

Would it be possible to support multiple configurations for different environments? For example: local a check to test whether the routes and configs are cached makes no sense, but on production, that would be a valid check.

And within checks it would also be nice to provide several configurations, for example the MySqlConnectable uses a hardcoded localhost connection. But for production code and database don't live on the same machine

Let me know what you think :)

Levivb avatar Sep 30 '19 09:09 Levivb

I like the idea. But it would also require it to have those resource files duplicated by environment, maybe have a common folder for those common resources and one for each environment, and also separate things (enabled resources for each environment) in the config file

antonioribeiro avatar Oct 02 '19 17:10 antonioribeiro

Why it cannot just use environmental settings like 'DB_HOST' from .env file?

thesun2003 avatar Oct 06 '19 03:10 thesun2003

This seems like a nice package to support our dev team in ensuring everyone has a stable dev environment.

nakehealth avatar Mar 11 '23 07:03 nakehealth