JFrog Artifactory
Learn how to configure JFrog Artifactory for use with Filebase.

What is JFrog Artifactory?

JFrog Artifactory is a DevOps platform that can be deployed as a Docker container or on Linux machines that provides automation and binary management through an application delivery process. JFrog can be configured to automatically backup local filestores to S3-compatible storage solutions.
Read below to learn how to use JFrog Artifactory with Filebase.

Prerequisites:

  • Download and install JFrog Artifactory - Self Hosted version.
  • Have Your Filebase Access and Secret Keys. Learn how to view your access keys here.
  • Create a Filebase Bucket. Learn how to create a bucket here.
This guide was tested and written using Ubuntu 20.04.

1. Once installed do not start the JFrog service.

First, navigate to the $JFROG_HOME/artifactory/var/etc/artifactory/artifactory.lic file and input your JFrog Artifactory license key.

2. Then, navigate to the directory $JFROG_HOME/artifactory/var/etc/artifactory.

Create or open the binarystore.xml file. Input the following content into the binarystore.xml file:
1
<config version="2">
2
<chain template="s3-storage-v3-direct"/>
3
<provider id="s3-storage-v3" type="s3-storage-v3">
4
<endpoint>s3.filebase.com</endpoint>
5
<bucketName>filebase-sample-bucket</bucketName>
6
<path>/path/to/filestore</path>
7
<region>us-east-1</region>
8
<identity>filebase-access-key</identity>
9
<credential>filebase-secret-key</credential>
10
</provider>
11
</config>
Copied!
Replace the following values to match your configuration:
  • BucketName: Filebase bucket name
  • Path: Path to your JFrog Filestore
  • Identity: Filebase Access Key
  • Credential: Filebase Secret Key

3. Next, navigate to the directory $JFROG_HOME/artifactory/var/data/artifactory and create a subdirectory called eventual.

cd $JFROG_HOME/artifactory/var/data/artifactory
mkdir eventual
ln -s $JFROG_HOME/artifactory/var/data/artifactory/filestore _add
ln -s $JFROG_HOME/artifactory/var/data/artifactory/filestore/_pre _pre
Now, as soon as Artifactory starts up, it will automatically move your complete filestore over to your Filebase bucket.

6. Start the JFrog Artifactory service.

If you have any questions, please join our Discord server, or send us an email at [email protected]
Last modified 1mo ago