stack.cfg
Shared stack
You can provide several stack information (some required) and some informational. The file can be anywhere in the root folder with name stack.cfg. Only one stack.cfg can be present in the hierarchy. The theme resources must be add as resource on at least [keycloak].
type |
object |
|||
properties |
||||
|
Defines the stack description |
|||
type |
string |
|||
default |
||||
|
Enable audit log system. Enable this option will start generating logs about all users interactions. Make sure to add all modules that are logged into the list moduleId. Learn more about Audit logging ↗️. Default value is [false] |
|||
type |
boolean |
|||
default |
False |
|||
|
Defines the front-end port used to expose the stack Default value is [5000] |
|||
type |
integer |
|||
maximum |
65535 |
|||
minimum |
1 |
|||
default |
5000 |
|||
|
Defines the front-end schema used to expose the stack Default value is [“https”] |
|||
type |
string |
|||
pattern |
https? |
|||
default |
https |
|||
|
Defines the hostname used to expose the stack Default value is [“stack-1.onsphere.local”] |
|||
type |
string |
|||
default |
stack-1.onsphere.local |
|||
|
Defines the stack integrator Default value is [{“company”:”SDN SA”,”email”:”info@sdn.ch”,”phone”:”+41 (0)26 510 29 30”}] |
|||
default |
company |
SDN SA |
||
phone |
+41 (0)26 510 29 30 |
|||
|
Name of the playbook that generated this file. If present, the file is managed by the Composer and may be overwritten on regeneration. Used for selective clean. Do not edit or set manually. |
|||
type |
string |
|||
|
The id of the module who need this cfg. At least [keycloak, web and dispatcher] need it. |
|||
type |
array |
|||
items |
type |
string |
||
|
Defines the stack name Default value is [“OnSphere”] |
|||
type |
string |
|||
default |
OnSphere |
|||
|
The id of the template to use for this file |
|||
type |
string |
|||
|
The variables and their values to be replaced from the template |
|||
type |
object |
|||
additionalProperties |
||||
|
Defines visual element for the theme Default value is [{“background”:””,”disableDashboardEdit”:false,”disableHelpLink”:false,”favicon”:””,”language”:{“authorizedLanguages”:[“en”,”fr”,”de”]},”logoWithText”:””,”logoWithoutText”:””,”mode”:”dark”,”modeIsLocked”:false}] |
|||
default |
background |
|||
disableDashboardEdit |
False |
|||
disableHelpLink |
False |
|||
favicon |
||||
language |
authorizedLanguages |
en |
||
fr |
||||
de |
||||
logoWithText |
||||
logoWithoutText |
||||
mode |
dark |
|||
modeIsLocked |
False |
|||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
|||
type |
array |
|||
items |
type |
string |
||
additionalProperties |
False |
|||
Integrator
type |
object |
|
properties |
||
|
Defines the company integrating the stack Default value is [“SDN SA”] |
|
type |
string |
|
default |
SDN SA |
|
|
Defines the email of the company integrating the stack Default value is [”info@sdn.ch”] |
|
type |
string |
|
default |
||
|
Defines the phone number of the company integrating the stack Default value is [“+41 (0)26 510 29 30”] |
|
type |
string |
|
default |
+41 (0)26 510 29 30 |
|
additionalProperties |
False |
|
Theme
type |
object |
||
properties |
|||
|
The background image for the login page. The file must be added on the resources of the module keycloak. |
||
type |
string |
||
|
Disable edition of the dashboard Default value is [false] |
||
type |
boolean |
||
default |
False |
||
|
Disable help link in front-end Default value is [false] |
||
type |
boolean |
||
default |
False |
||
|
Experimental MUI theme, the format must be as follows: {“dark”: {…}, “light”: {…}, “all”: {…}}. All data allow to specify standard value that are defined for all integrations. Dark and lights depends on user/integration theme. Note: This feature is experimental and will probably change. This is an attempt at adding integrator control over themes and MUI styling. |
||
|
The favicon image. The file must be added on the resources of the module keycloak and web. |
||
type |
string |
||
|
Configure the available languages for the stack Default value is [{“authorizedLanguages”:[“en”,”fr”,”de”]}] |
||
default |
authorizedLanguages |
en |
|
fr |
|||
de |
|||
|
The logo to display on the account page. If it is not define, the logo without text will be used or the default one. The file must be added on the resources of the module keycloak and web. |
||
type |
string |
||
|
The logo to display on the login page, account page and the dashboard. If it is not define, the logo with text will be used or the default one. The file must be added on the resources of the module keycloak and web. |
||
type |
string |
||
|
Defines front-end theme. Whether light or dark (default). Default value is [“dark”] |
||
type |
string |
||
enum |
light, dark |
||
default |
dark |
||
|
If set to true, the user can’t modify the current theme on the front end using the icon in the toolbar. Default value is [false] |
||
type |
boolean |
||
default |
False |
||
additionalProperties |
False |
||
LanguageSettings
type |
object |
||
properties |
|||
|
Defines the stack authorized languages. Available languages are english (en), french (fr) and german (de). Default language must be a part of this.
Default value is [[“en”,”fr”,”de”]] |
||
type |
array |
||
default |
en |
||
fr |
|||
de |
|||
items |
type |
string |
|
enum |
en, fr, de |
||
|
Defines the stack default locale. Available languages are english (en), french (fr) and german (de).
|
||
type |
string |
||
enum |
en, fr, de |
||
additionalProperties |
False |
||