Skip to content

Quick Start

This page goes through how to quickly get a local Katalogue environment up and running with Docker compose.

Eventhough docker compose might be used in a production scenario, the deployment described here is only intended for demo and testing purposes. There are security issues and risk for data loss with the default docker compose setup shipped with Katalogue. For a production scenario, read up on the Deployment options.

  • Docker - In order to run Katalogue locally you need Docker installed on your computer. You can use either the licensed Docker Desktop application or the open source Docker components which require WSL (Windows Subsystem for Linux) to run on Windows. Docker Desktop.

  • GIT - The Katalogue code is located at https://github.com/kayentaconsulting/katalogue, get a local copy of the main branch. Note that this is a private repo and you need an invite from Kayenta in order to access it.

  1. Make sure you have Docker and Git installed.
  2. Clone the Katalogue source code from GitHub.
  3. Open a command prompt and cd to the folder where you saved the Katalogue source code. You should see a file called docker-compose.yml.
  4. In that folder, type docker compose up and hit enter.
  5. Docker will now use the Dockerfiles for each Katalogue service in /services/* to build and start the Docker images. It will take a minute or two but once the build is complete you should be back at the prompt and see something like this: docker compose up
  6. Open your browser and navigate to http://localhost:8080 to access Katalogue.
  7. Login with these credentials:
    • Username: admin
    • Password: admin

Type Ctrl + C in the terminal window that is running docker compose to stop the instance. You can also type docker compose stop in another window to shut it down.

Stopping the container with this command is safe, i.e. data will be persisted.

The docker images and containers need to be rebuilt if changes are made to any of the services or docker-compose.yml. The most common scenarios for this is that something went wrong the first time Katalogue was initialized or when you want to upgrade an existing local deployment to a new Katalogue version. I.e. if you download updates to the source code from GitHub.

Run this to do a complete rebuild of all images and containers. This will not delete any data as long as the docker-compose.yml file is used without changes.

Terminal window
docker compose up --build --force-recreate --no-cache

To completely purge the Katalogue instance and its data from docker, run this command.

Terminal window
docker compose down --rmi all -v

Here are a few useful commands to manage the Katalogue instance deployed with docker compose.

The only commonly dangerous command here is down -v, as that will delete the database docker volume where data is persisted.

CommandDescriptionRebuild ImageRecreate ContainerRemoves ContainerRemoves VolumeRisk of Data Loss
docker compose buildBuilds (or rebuilds) service images from Dockerfiles✅ Yes❌ No❌ No❌ No❌ None
docker compose upStarts services (creates containers if needed)❌ No (unless needed)⚠️ Sometimes❌ No❌ No❌ None
docker compose up --buildBuilds images before starting services✅ Yes⚠️ Sometimes❌ No❌ No❌ None
docker compose up --force-recreateForces all containers to be recreated❌ No✅ Always✅ Yes (old container)❌ No❌ None*
docker compose up --build --force-recreateRebuilds images and recreates containers✅ Yes✅ Always✅ Yes (old container)❌ No❌ None*
docker compose downStops and removes containers and networks❌ No❌ No✅ Yes❌ No❌ None
docker compose down -vStops and removes containers, networks, and volumes❌ No❌ No✅ Yes✅ Yes⚠️ Yes (deletes DB data)
docker compose down --rmi allStops containers and removes all related images❌ No❌ No✅ Yes❌ No❌ None
docker compose down --rmi all -vStops and removes containers, networks, images and volumes❌ No❌ No✅ Yes❌ No⚠️ Yes (deletes DB data)

* Data is safe if you’re using the default docker-compose.yml file.

Every Katalogue installation comes with a ready-made connection to its own repository database, and with a glossary describing what is in it. That makes Katalogue itself the quickest datasource to try: there is nothing to set up before the first sync.

  1. Navigate to Tasks, found under Manage in the navigation menu to the left.
  2. Select the Katalogue Repository sync task and click Run in the toolbar above the table. You can also click the task name to open it and run it from there.
  3. The task runs in the background. Open it to follow the job on the Jobs tab, and wait until it has completed.
  1. Navigate to Datasets, found under Browse in the navigation menu.
  2. Click the Katalogue system. The Datasources tab now lists the katalogue database.
  3. Click it to browse its schemas, tables and fields. The Relationships tab shows how the tables are related to each other.
  1. Navigate to Glossaries, found under Browse in the navigation menu.
  2. Open the Katalogue glossary. It describes every concept in the database you just synced, such as Dataset, Field and Job.
  3. Open a concept and go to its Related Assets tab to see the other concepts that mention it.

To sync one of your own databases, create a Connection for it as described in Syncing Datasources. See Connectors for the datasources Katalogue can connect to.