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.
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
.
$JFROG_HOME/artifactory/var/etc/artifactory
.Create or open the binarystore.xml
file. Input the following content into the binarystore.xml
file:
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
.
$JFROG_HOME/artifactory/var/data/artifactory
and create a subdirectory called eventual
.cd $JFROG_HOME/artifactory/var/data/artifactory
mkdir eventual
4. Create a symlink link with the name _add
that points to the $JFROG_HOME/artifactory/var/data/artifactory/filestore
directory.
_add
that points to the $JFROG_HOME/artifactory/var/data/artifactory/filestore
directory.ln -s $JFROG_HOME/artifactory/var/data/artifactory/filestore _add
5. Create another symlink with the name _pre
that points to the $JFROG_HOME/artifactory/var/data/artifactory/filestore/_pre
directory.
_pre
that points to the $JFROG_HOME/artifactory/var/data/artifactory/filestore/_pre
directory.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.
Last updated