Modify an existing chain template

JFrog Installation & Setup Documentation


To accommodate any specific requirements you may have for your filestore, modify one of the existing chain templates either by extending it with additional binary providers or by overriding one of its attributes.

For example, the built-in filesystem chain template stores binaries under the $JFROG_HOME/artifactory/var/data/artifactory/filestore directory. To modify the template so that it stores binaries under $FILESTORE/binaries you could extend it as follows:

<!-- file-system chain template structure  -->  
<config version="v1">   
        <chain template="file-system"/>
        <provider id="file-system" type="file-system">                                <!-- Modify the "file-system" binary provider -->
                <baseDataDir>$FILESTORE/binaries</baseDataDir>              <!-- Override the <baseDataDir> attribute -->