After installing and before running Artifactory, you may set the following configurations.
System YAML Configuration File
You can configure all your system settings using the system.yaml
file located in the $JFROG_HOME/artifactory/var/etc
folder. For more information, see System Configuration. If you don't have a System YAML file in your folder, copy the template available in the folder and name it system.yaml
.
Note
Unlike other installations, Helm Chart configurations are made to the values.yaml
and are then applied to the system.yaml
.
Follow these steps to apply the configuration changes.
Make the changes to
values.yaml.
Run the following command.
helm upgrade --install <jfrog product> --namespace <jfrog product> -f values.yaml
Database
The JFrog Platform Helm Chart comes with a bundled PostgreSQL database out-of-the-box. If you're planning to use it in production, it is highly recommended to first configure any alternate supported databases, and then deploy the JFrog Platform.
Customize Java Opts (Optional)
You can modify your JVM Parameters as needed by setting JAVA_OPTIONS
in $JFROG_HOME/artifactory/var/etc/system.yaml
. The property to pass extra Java opts is artifactory.extraJavaOpts
. It is highly recommended to set your Java memory parameters as follows:
The larger your repository or number of concurrent users, the larger you need to make the -Xms
and -Xmx
values accordingly. If you can reserve at least 512MB for Artifactory, the recommended minimal values are:
-server -Xms512m -Xmx2g -Xss256k -XX:+UseG1GC
For more recommendations about your hardware configuration, especially the -Xmx
parameter, see System Requirements.
Additional Settings
Additional settings are about customizing ports, joinKey (join.key
), masterKey (master.key
).
Configure the Filestore
By default, Artifactory is configured to use the local file system as its filestore. Artifactory supports a variety of additional filestore configurations to meet a variety of needs for binary storage providers, storage size, and redundancy.