Artifactory with PostgreSQL

Run Artifactory repository manager Open Source inside a Docker container using PostgreSQL storage.

Docker image: tnguyen1/docker-artifactory-with-postgres

Volumes

Artifactory's data, logs and backup directories are exported as volumes:

/opt/artifactory/current/data
/opt/artifactory/current/logs
/opt/artifactory/current/backup

Ports

The web server is accessible through port 8081.

Environment variables

These environment variables can be injected to configure PostgreSQL connection for Artifactory.

  • DB_HOST - default artdb
  • DB_PORT - default 5432
  • DB_NAME - default artifactory
  • DB_USER - default artifactory
  • DB_PASSWORD - default password

Running with Docker Compose

The recommended way to run this container is through Docker Compose linked to PostgreSQL container.