Skip to content

Quickstart

Quickstart

Get Artifact Keeper up and running in minutes using Docker Compose.

Prerequisites

  • Docker and Docker Compose installed
  • Git (to clone the repository)

Quick Start

  1. Clone the repository:
Terminal window
git clone https://github.com/yourusername/artifact-keeper.git
cd artifact-keeper
  1. Start the services:
Terminal window
docker compose up -d

This starts the full stack:

  • Artifact Keeper backend and frontend
  • PostgreSQL database
  • MinIO (S3-compatible storage)
  • Trivy (vulnerability scanner)
  1. Access the UI:

Open your browser to http://localhost:3000

  1. Login:

Use the default credentials:

  • Username: admin
  • Password: admin

Important: Change the default password immediately in production environments.

First Steps

Create Your First Repository

  1. Navigate to Repositories in the sidebar
  2. Click Create Repository
  3. Choose a package format (e.g., Maven, npm, Docker)
  4. Enter a repository name and description
  5. Click Create

Push Your First Artifact

Depending on your package format:

Maven (in your pom.xml):

<distributionManagement>
<repository>
<id>artifact-keeper</id>
<url>http://localhost:8080/maven/my-repo</url>
</repository>
</distributionManagement>

npm (using .npmrc):

registry=http://localhost:8080/npm/my-repo/
//localhost:8080/npm/my-repo/:_authToken=YOUR_TOKEN

Docker:

Terminal window
docker tag myimage:latest localhost:8080/docker/my-repo/myimage:latest
docker push localhost:8080/docker/my-repo/myimage:latest

Browse Artifacts

  1. Navigate to Repositories and select your repository
  2. Browse uploaded artifacts
  3. View metadata, dependencies, and security scan results
  4. Search across all artifacts using the search bar

Next Steps

Stopping the Services

Terminal window
docker compose down

To remove all data (databases, artifacts):

Terminal window
docker compose down -v