Uploaded image for project: 'Gazelle User Management'
  1. Gazelle User Management
  2. GUM-77

[UI] Unable to provide env variables at runtime

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: GUM-UI - 1.0.0
    • Component/s: None
    • Labels:
      None
    • Account:
      KER-IDS-GZ-2023 (KER-IDS-GZ-2023)
    • Epic Link:
    • Program Increment:
      PI-67
    • Targeted team:
      Development

      Description

      We recently encountered a problem deploying gum ui on a production environment. The problem is linked to an environment variable that is frozen in the build state of the next-js project. It is impossible to override this variable at runtime.

      Useful links :
      https://www.saltycrane.com/blog/2021/04/buildtime-vs-runtime-environment-variables-nextjs-docker/

        Attachments

          Activity

            People

            Assignee:
            vfs Vincent Flebus (Inactive)
            Reporter:
            vlorand Valentin Lorand
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Start date:
              End date:

                Time Tracking

                Estimated:
                Original Estimate - 2 days Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 5 hours
                4d 5h

                  Potential Duplicates