orangehrm / orangehrm

OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures all the essential functionalities required for any enterprise.
GNU General Public License v3.0
740 stars 538 forks source link

Environment Variables / Secrets #1837

Open kale1d0code opened 2 weeks ago

kale1d0code commented 2 weeks ago

Is your feature request related to a problem? Please describe. Please describe the problem you are trying to solve. I've noticed there is no documentation for environment variables or secrets for OrangeHRM. implementing environment variables / secrets would simplify and speed up installation and would allow for systems to be configured without human intervention.

Describe the solution you'd like Please describe the desired behavior. namespaced environment variables for secrets eg ORANGEHRM_DATABASE_HOST ORANGEHRM_DATABASE_PASS ORANGEHRM_DATABASE_USER

and a script which would look for environment variables with a FILE suffix or FILE prefix which would store a path and allow for the content of a file to be used as a secret. (I have written such a script for my docker image which is POSIX compliant)

Describe alternatives you've considered using bitnami version of orangehrm image