Requirements
In this article
Machine requirements
Minimum machine requirements to run Kantree:
- 2 CPU cores (>4 recommended)
- 4G RAM
Kantree uses RAM to cache the data. The more users and projects you have, the more RAM it will use. Although having a lot of RAM is not needed, it increases the quantity of data that can be cached simultaneously which means better performances.
If you plan to store uploaded files locally, you need to consider sufficient disk space.
Software requirements
Kantree is distributed as a Docker image. You need:
- 64-bit Linux
- Docker and Docker Compose
The example docker-compose.yml starts everything else Kantree needs:
- PostgreSQL, using the official
postgres:18image - Redis, which Kantree uses as a queue and cache server
- nginx, as the reverse proxy in front of Kantree
An Internet connection is not required to install and use Kantree but you will need to make sure to download a pre-activated license file.
Using your own PostgreSQL server
You can use your own PostgreSQL server instead of the container of the example. Create a database in PostgreSQL. Make sure the encoding is UTF-8. We also recommand that you create a dedicated user for this database.
Example:
CREATE DATABASE kantree ENCODING 'UTF-8';
CREATE USER kantree WITH PASSWORD 'provide a password';
GRANT ALL PRIVILEGES ON DATABASE kantree TO kantree;
Kantree needs the following extensions:
CREATE EXTENSION "unaccent";
CREATE EXTENSION "uuid-ossp";
CREATE EXTENSION "pg_trgm";
Create them yourself if the user of Kantree is not allowed to: the container upgrades the database each time it starts.
The app container must be able to connect to the server with a password. If it cannot, check your configuration, most notably pg_hba.conf which controls access methods.
Then configure the connection.
Using your own Redis server
Make sure you have a Redis server running. No special configuration is needed. Then configure the connection.
Reverse proxy
Kantree must be served by a reverse proxy, which forwards the requests to the different servers of the app container. The example includes one (nginx). If you already use a central reverse proxy, see Using your own reverse proxy.