.env support?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamie
    Junior Member
    • Aug 2025
    • 28

    #1

    .env support?

    would love to use this to unify my docker git and development
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9264

    #2
    Use config-override. https://docs.espocrm.com/administrat.../#config-files
    You can read ENV in there.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • jamie
      Junior Member
      • Aug 2025
      • 28

      #3
      o thats most useful! is there anything special to setup?

      i am currently using it like this 'host' => getenv('DB_HOST') ?: 'espo_dev-db', and it doesn't seem to work

      Comment

      Working...