Search


Cloud customer?
Upgrade in MyJFrog >


Working with an older version?

JFrog Artifactory 6.x
JFrog Xray 2.x
JFrog Mission Control 3.x
JFrog Distribution 1.x
JFrog Enterprise+ (Pre-Platform Release)




Overview

JFrog products have a common directory structure for each installation type, which is broken up into two main parts:

  • Application Directory (immutable) containing all product application binaries, scripts and default configurations.
  • Data Directory (mutable) containing all customizable configurations, data generated by the application and logs.
Page Contents




JFrog Product Directory Structure

ProductEnvironment Variable

Linux/Windows Archive

RPM/DebianDocker ContainerDocker Host
JFrog HomeJFROG_HOME

<extracted directory>

/opt/jfrog/opt/jfrogROOT_DATA_DIR *
Note: Defined and customized in the .env file
Default value~/.jfrog
Application

JFROG_HOME/<product>/app

<extracted directory>/<product>/app/opt/jfrog/<product>/app/opt/jfrog/<product>/app-
Data

JFROG_HOME/<product>/var

<extracted directory>/<product>/var/var/opt/jfrog/<product>/var1.
Note: symbolic link
/var/opt/jfrog/<product>/varROOT_DATA_DIR/var *
Default value~/.jfrog/<product>/var

Directory is customizable

1. Customizing the RPM/Debian JFrog product data

There are 2 ways to customize the data folder:

  1. Manual Option: Create a symbolic link from your custom folders to the default folders. For example, $JFROG_HOME/artifactory/var → /mnt/artifactory/var .
  2. Environment Variable Option: Set the JF_PRODUCT_VAR environment variable to point to a custom location in your system's environment variables files. See Ubuntu System environment variables for reference.

Generic Directory Layout

This is a generic directory layout for all JFrog products.

JFROG_HOME
  └── <product>
     ├── app
     │   ├── bin
     │   ├── run
     │   ├── doc
     │   ├── <third-party>
     │   │   ├── java
     │   │   ├── yq
     │   │   └── others
     │   └── <service>
     │   │   ├── bin
     │   │   └── lib
     │   └── misc
     │
     └── var
        ├── backup
        │   └── <service>
        ├── bootstrap
        │   └── <service>
        ├── data
        │   └── <service>
        ├── etc
        │   ├── system.yaml
        │   ├── <service>
        │   └── security
        │       └──master.key
        │       └──join.key
        ├── log
        │   └── <service logs>
        │   └── archived
        │       └── <archived service logs>
        └── work
            └── <service>

Copyright © 2019 JFrog Ltd.