Skip to content

Commit c05e013

Browse files
Update pad-best-practices.md
1 parent c213691 commit c05e013

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

content/en/docs/deployment/general/pad/pad-best-practices.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ The core concept governing configuration file processing is *last definition win
1616

1717
This principle is crucial when managing both standard configuration files and environment variables. If a custom file is processed after environment variables, its settings will take precedence.
1818

19+
By default, the configurations are loaded in the following order:
20+
21+
```text
22+
include file("etc/StudioPro.conf")
23+
include file("etc/constants/defaults.conf")
24+
include file("etc/configurations/Default.conf")
25+
include file("etc/variables.conf")
26+
include file("etc/constants/variables.conf")
27+
```
28+
29+
Because of that, for example, if the same setting is present in `StudioPro.conf` and `etc/variables.conf`, the version from `etc/variables.conf` takes precedence.
30+
1931
## Managing the Configuration Order
2032

2133
To ensure your desired configuration values are applied correctly, especially when custom settings must override or be overridden by environment variables, you have two primary approaches:
@@ -42,4 +54,4 @@ In a typical Cloud deployment, it is often recommended to replace files like `St
4254

4355
## Supported Configuration File Formats
4456

45-
You do not need to use the `.conf` extension for your configuration files. You can use any extension you prefer, or no extension at all. The content of the file determines how it is parsed.
57+
You do not need to use the `.conf` extension for your configuration files. You can use any extension you prefer, or no extension at all. The content of the file determines how it is parsed.

0 commit comments

Comments
 (0)