.env support?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamie
    Senior Member
    • Aug 2025
    • 226

    #1

    .env support?

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

    #2
    Use config-override. https://docs.espocrm.com/administrat.../#config-files
    You can read ENV in there.

    Comment

    • jamie
      Senior Member
      • Aug 2025
      • 226

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