Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure Artifactory using PostgreSQL instead of MySQL?

How would one configure PostgreSQL instead of MySQL to run artifactory?

like image 526
Mauli Avatar asked Jan 22 '26 21:01

Mauli


1 Answers

The link to the repo.xml file is broken and not correct (because it point to mysql configuration).

To get the correct repo.xml file

  1. Downloading the OSS version from the web site.
  2. extract it to a folder
  3. look inside the extracted folder and go to /etc/repo
    You have two possibilities for postgres :
    A. filesystem-postgres/repo.xml
    B. postgres/repo.xml

  4. copy the folder A or B in your $ARTIFACTORY_HOME/etc/repo/

  5. edit username/password and database info into the **/repo.xml file you just copied according to your database configuration.

NOTE: remember that this will impact the change you did in $ARTIFACTORY_HOME/etc/artifactory.system.properties (artifactory.jcr.configDir=filesystem-postgres OR artifactory.jcr.configDir=repo/postgresql)

like image 76
Federico Paolantoni Avatar answered Jan 25 '26 10:01

Federico Paolantoni