Skip to main content
This guide covers the installation, configuration, and maintenance of a self-hosted Kontratar instance. Self-hosting is intended for organizations that require a private deployment on their own infrastructure rather than using the Kontratar SaaS platform.

System requirements

Prerequisites

Before starting the installation, prepare the following:

1. Database

A running PostgreSQL database (self-hosted or cloud-based, for example AWS RDS). You will need:
  • Database host, username, and password
  • An SSL certificate (.crt file) for verifying the database connection

2. SMTP (optional)

SMTP credentials for sending notification emails. While optional, SMTP is recommended for full platform functionality.

3. Redis

A Redis instance (cloud-based or self-hosted). You will need the host address, port, and password.

4. Domain name

A registered domain name for your self-hosted instance. You will need a TLS/SSL certificate to verify the domain connection.

Installation

Step 1: Download the installer

The repository URL above is a placeholder. The actual URL will be provided during your onboarding process.

Step 2: Make the installer executable (Linux/macOS)

Step 3: Run the installer

The installer prompts you for the following information:

What the installer does

The installer performs the following actions:
  1. Authenticates and accesses the Docker registry.
  2. Downloads and runs the Liquibase database schema setup.
  3. Generates an .env file with your environment variables.
  4. Creates a docker-compose.yml file with port mappings based on your base port.
  5. Pulls and runs all required containers.

Port mapping

All services are offset from your base port. For example, if your base port is 3000: Record these ports for reference when verifying service health or troubleshooting.

Accessing your instance

After the containers are running, access Kontratar at:

Verifying service health

Verifying running containers

Maintenance

Restarting all services

Viewing service logs

Updating environment configuration

Edit the .env file, then restart:

Reinstalling with new configuration

To reconfigure from scratch:
  • Quick Start — Account creation and workspace configuration (applies to both SaaS and self-hosted instances).
  • Administrator Workspace — Organizational management after installation.
  • FAQ — Common questions about Kontratar.
Parent topic: Kontratar v1.2 Documentation