Xl-release.conf file for production setup

Hi,

I was wondering if someone can provide a sample xl-release.conf file with values which can be tweaked as per requirement?

thank you

Regards
Usman

Here is one that I use -

 xl {
        # The connection details for the target SQL database where
        # releases will be migrated to
        cluster {
            mode=full
            name=xlr-cluster
            node {
                clusterPort=5531
                hostname=""
                id="NODE-1"
            }
        }
        database {
            db-driver-classname="com.mysql.jdbc.Driver"
            db-password="{aes:v0}8vpodL9d9CJlDljNYsx3az4nS/cZaIDI/1ftLsC/MFA="
            db-url="jdbc:mysql://10.10.10.10:3306/xlr?useSSL=false&nullNamePatternMatchesAll=true"
            db-username=support
            max-life-time="8 minutes"
            max-pool-size=20
        }
        features {
            script {
                sandbox {
                    enabled=false
                }
            }
        }

        reporting {
            # The connection details for the target archived SQL database
            # where releases will be migrated to
            db-driver-classname="com.mysql.jdbc.Driver"
            db-password="{aes:v0}NGMtC/1naNNQQfDlJHHibqHlJw6DBxdmXCvbE+SuZvU="
            db-url="jdbc:mysql://10.10.10.10:3306/xlr_archive?useSSL=false&nullNamePatternMatchesAll=true"
            db-username=support
            max-life-time="8 minutes"
            max-pool-size=20
        }
    }
1 Like

Hallo Uma, this link might be also usefull. there are some setting also recommended on the DB side and some information to HA Setup :
https://docs.xebialabs.com/v.9.7/release/how-to/set-up-xl-release-production/#preparation
https://docs.xebialabs.com/v.9.7/release/how-to/configure-the-xl-release-sql-repository-in-a-database/#database-specific-configuration-in-release

1 Like