We're updating the issue view to help you get more done. 

Add ENV overload in detectEnvironment() via ENVIRONMENT system setting/property

Description

Since the framework detects the environment based on the CGI server name during application start, this creates a problem for health checks in Docker which use localhost/127.0.0.1 to determine if the framework is initialized and running before marking the container as "Running"

Suggestion is to implement an environment variable detection for `ENVIRONMENT`, which overrides the regex detection.

Status

Assignee

Luis Majano

Reporter

Jon Clausen

Labels

None

Components

Fix versions

Priority

Major