Fineract backend settings with environment variables

This commit is contained in:
Jose Alberto Hernandez
2022-07-13 16:40:23 +02:00
committed by Arnold Gálovics
parent 1b72136411
commit 14ceb4f3fd
44 changed files with 815 additions and 291 deletions
+16
View File
@@ -0,0 +1,16 @@
(function(window) {
window["env"] = window["env"] || {};
// BackEnd Environment variables
window["env"]["fineractApiUrls"] = 'https://localhost:8443';
window["env"]["fineractApiUrl"] = 'https://localhost:8443';
window["env"]["apiProvider"] = '/fineract-provider/api';
window["env"]["apiVersion"] = '/v1';
window["env"]["fineractPlatformTenantId"] = '';
// Language Environment variables
window["env"]["defaultLanguage"] = '';
window["env"]["supportedLanguages"] = '';
})(this);
+16
View File
@@ -0,0 +1,16 @@
(function(window) {
window["env"] = window["env"] || {};
// BackEnd Environment variables
window["env"]["fineractApiUrls"] = '$FINERACT_API_URLS';
window["env"]["fineractApiUrl"] = '$FINERACT_API_URL';
window["env"]["apiProvider"] = '$FINERACT_API_PROVIDER';
window["env"]["apiVersion"] = '$FINERACT_API_VERSION';
window["env"]["fineractPlatformTenantId"] = '$FINERACT_PLATFORM_TENANT_IDENTIFIER';
// Language Environment variables
window["env"]["defaultLanguage"] = '$MIFOS_DEFAULT_LANGUAGE';
window["env"]["supportedLanguages"] = '$MIFOS_SUPPORTED_LANGUAGES';
})(this);
+4
View File
@@ -27,3 +27,7 @@ textarea.noresize {
.full-input [type="radio"] {
width: auto;
}
.mat-tab-body-content {
margin-bottom: 20px;
}
+3 -1
View File
@@ -16,5 +16,7 @@
"Reports": "Reports",
"Admin": "Admin",
"Self Service": "Self Service",
"Institution": "Institution"
"Institution": "Institution",
"Language": "Language",
"Server": "Server"
}
+3 -1
View File
@@ -16,5 +16,7 @@
"Reports": "Rapports",
"Admin": "Admin",
"Self Service": "En libre service",
"Institution": "Institution"
"Institution": "Institution",
"Language": "Langue",
"Server": "Serveur"
}