Uploaded image for project: 'ColdBox Platform'
  1. COLDBOX-724

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

    Details

      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.

        Gliffy Diagrams

          Attachments

            Issue links

              Activity

                People

                • Assignee:
                  lmajano Luis Majano
                  Reporter:
                  JClausen Jon Clausen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: