--- title: "Configuring Settings.xml to Environment Variable" slug: "configuring-settingsxml-to-environment-variable-1" description: "Learn how to configure Settings.xml properties as environment variables for Decisions containers. All Settings.xml tags can be mapped." updated: 2026-04-27T20:46:02Z published: 2026-04-28T14:12:35Z canonical: "documentation.decisions.com/configuring-settingsxml-to-environment-variable-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring Settings.xml to Environment Variable ## Overview This article illustrates how we can configure the properties specified in **Settings.xml** to the Environment Variable List of the containers. All tags from **Settings.xml** can be configured to Environment Variable. Reference Articles:To learn more about **Settings.xml**, please visit [Settings.xml Overview](https://documentation.decisions.com/version-10/docs/system-settings-overview-settings-xml). To learn more about Decisions Environment Variables, please visit [Decisions Environment Variables](https://documentation.decisions.com/version-10/docs/environment-variables-1). --- ## Name Convention In **Settings.xml**, we change the values between the tags to customize the server settings but to configure that same setting in containers; we need to follow a name convention. **DECISIONS_=** - **DECISIONS_**: This is a constant prepend text - ****: This is the name of the setting from Settings.xml. Setting Name should be in Upper Case - ****: Value to be configured --- ## Example for Root Level settings | Settings from Settings.xml | Configuration in Environment Variable | | --- | --- | | true | DECISIONS_ENABLEHTTPS=true | | MSSQL | DECISIONS_DATABASETYPE=MSSQL | | Decisions Server | DECISIONS_SERVERNAME=Decisions Server | ## SMTP settings | SMTP Setting in Settings.xml | Configuration in Environment Variable | | --- | --- | | true 25 false false false | DECISIONS_MAIL_BYPASSSMTPSERVER=true DECISIONS_MAIL_SMTPSERVER_SERVERADDRESS= DECISIONS_MAIL_SMTPSERVER_PORT=25 DECISIONS_MAIL_SMTPSERVER_REQUIRESAUTHENTICATION=false DECISIONS_MAIL_SMTPSERVER_USERNAME= DECISIONS_MAIL_SMTPSERVER_PASSWORD= DECISIONS_MAIL_SMTPSERVER_USESSL=false DECISIONS_MAIL_SMTPSERVER_USEIMPLICITSSL= DECISIONS_MAIL_SMTPSERVER_SKIPCERTIFICATEREVOCATIONCHECK=false | --- ## Custom Headers For Custom Headers, users need to set the value of the **DECISIONS_CUSTOMHEADERS** in a JSON String format. This JSON String gets automatically deserialized and converted in XML format in Settings.xml. Following is the example for an iFrame Custom Headers. | Custom Headers in Settings.xml | Configuration in Environment Variable | | --- | --- | | Strict-Transport-Security max-age=31536000;includeSubDomains Content-Security-Policy frame-ancestors 'self' http://localhost | DECISIONS_CUSTOMHEADERS=[{"Name": "Strict-Transport-Security","Value": "max-age=31536000;includeSubDomains"},{"Name": "Content-Security-Policy","Value":"frame-ancestors 'self' http://localhost"}] |