Artifactory PostgreSQL Single Node Configuration with Ansible

Configure a single-node JFrog Artifactory instance to use PostgreSQL by stopping the service, editing the database block in system.yaml, and restarting.

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

  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.