If you choose to use the file-system template, configure the binarystore.xml
configuration as follows.
<config version="v1"> <chain template="file-system"/> </config>
What's in the template?
While you don't need to configure anything else in your binarystore.xml
, this is what the file-system
template looks like under the hood.
<chain> <!-- template="file-system" --> <provider id="file-system" type="file-system"/> </chain>
In this example, the filestore and temp folder are located under the root directory of the machine.
<config version="v1"> <chain template="file-system"/> <provider id="file-system" type="file-system"> <baseDataDir>/var/opt/jfrog/data</baseDataDir> <fileStoreDir>/filestore</fileStoreDir> <tempDir>/temp</tempDir> </provider> </config>
Where:
type | file-system |
baseDataDir | Default: The root directory where Artifactory should store data files. |
fileStoreDir | Default: The root folder of binaries for the filestore. If the value specified starts with a forward slash (“/”) the value is considered the fully qualified path to the filestore folder. Otherwise, it is considered relative to the baseDataDir. |
tempDir | Default: A temporary folder under baseDataDir into which files are written for internal use by Artifactory. This must be on the same disk as the fileStoreDir. |