Project

General

Profile

Actions

Feature #36852

open

Load and use bash/system ENV variables in config YML files

Added by Aleksandar Pavic about 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

In some scenarios, where Redmine is automatically deployed,
it would be of good use to read EXPORT or ENV variables and use them in config .yml files like database.yml

For example like elsastic
https://www.elastic.co/guide/en/beats/winlogbeat/current/using-environ-vars.html

export DB-NAME = "something" 


and in yml file
production:
  database: ${DB-NAME}

Actions

Also available in: Atom PDF