Guide for Environment Variables

Collapse
X
 
  • Time
  • Show
Clear All
new posts

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

    Leave a comment:


  • marcbeinder
    replied
    Wonderful! Thanks yuri!

    Leave a comment:


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

    Leave a comment:


  • marcbeinder
    started a topic Guide for Environment Variables

    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
Working...