Announcement

Collapse
No announcement yet.

Guide for Environment Variables

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guide for Environment Variables

    Good Afternoon All,

    Is there any official guidance on using environment variables in the config files? Is there a helper function that we should be using or is it okay to use the $_ENV super global? I haven't been able to find anything in the docs. I'm looking at docker as a potential solution, but that only abstracts the issue, it doesn't solve it.

    PHP Code:
    $_ENV['ENV_VARIABLE_NAME'

    Thanks,
    Marc

  • #2
    HI Marc, This improvement for v8.2 will be helpful. No ETA yet. https://github.com/espocrm/espocrm/issues/2916

    Comment


    • #3
      Wonderful! Thanks yuri!

      Comment


      • #4
        hi i want ask something. how i can add file storage parameter in data/config-internal.php but by using docker compose environment

        Comment

        Working...
        X