Configure Artifactory to Use PostgreSQL Single Node in Ansible

For JFrog Artifactory to run with PostgreSQL as a single node you must a create dedicated PostgreSQL database instance and then configure Artifactory to use it...

For JFrog Artifactory to run with PostgreSQL as a single node you must create a dedicated PostgreSQL database instance and then configure Artifactory to use it as described in the following sections. Refer to PostgreSQL documentation for the PostgreSQL version you are using. details.

  1. Stop the Artifactory service.

  2. Edit the database connection details in the system.yaml configuration file as follows.

    shared:
      database:
        type: postgresql
        driver: org.postgresql.Driver
        url: jdbc:postgresql://<your db url, for example: localhost:5432>/artifactory
        username: artifactory
        password: password
  3. Start the Artifactory service.