By default, Artifactory is configured to use the local file system as its filestore. Artifactory offers flexible filestore management through the binarystore.xml configuration file located in the $JFROG_HOME/artifactory/var/etc/artifactory folder. Note that this file/directory will get created on installing the compose, or you may pre-create it.
By modifying this file you can implement a variety of different storage configurations. For ease of scaling, we recommend setting up a S3 bucket and utilizing that for unlimited scaling. Use the following cluster-s3-storage-v3 template to configure your S3 Cloud Storage.
<config version="2"> <chain template="cluster-s3-storage-v3"/> <provider id="s3-storage-v3" type="s3-storage-v3"> <endpoint>s3.amazonaws.com</endpoint> <bucketName>bucketName</bucketName> <path>pathPrefix</path> <region>s3Region</region> <identity>yourIdentity</identity> <credential>yourCredentials</credential> <usePresigning>true</usePresigning> <signatureExpirySeconds>600</signatureExpirySeconds> </provider> </config>
We have other configuration templates for other cloud providers as well:
https://www.jfrog.com/confluence/display/JFROG/Configuring+the+Filestore#ConfiguringtheFilestore-ConfiguringShardingforHACluster
If you want to use local disk storage instead of S3, you can use:
<config version="2"> <chain template="cluster-file-system"/> </config>