Choose the installation method that best fits your needs:
- Docker Compose (Recommended): Complete setup with all services
- Docker: Single container deployment
- Bare Metal: Direct installation on your system
- Proxmox LXC: Install LXC on proxmox host using ProxmoxVE Helper Scripts
- Development Setup: For contributors and developers
Before installing Tracktor, ensure your system meets these minimum requirements which varies based on the installation type :
| Installation Type | Hardware Requirements | Software Dependencies |
|---|---|---|
| Docker Compose | - | - docker - compose - git |
| Docker | - | - docker - git |
| Bare Metal | - Memory: 512MB RAM - Storage: 1GB free space |
- node.js - git |
| Proxmox LXC | - Memory: 512MB RAM - Storage: 1GB free space - CPU: 1vCPU |
- proxmox - lxc |
| Development Setup | Setup Guide | - |
Note: For production deployments, it is recommended to have at least 1GB of RAM and 2GB of free disk space.
Docker Compose provides the easiest way to deploy Tracktor with all services configured automatically.
- Docker and Docker Compose installed on your system
- At least 1GB free disk space
Step 1: Download or create a docker-compose.yml file in your directory:
# Downlaod Docker compose file
curl -o docker-compose.yml https://raw.githubusercontent.com/javedh-dev/tracktor/main/docker/docker-compose.ymlservices:
app:
image: ghcr.io/javedh-dev/tracktor:latest
container_name: tracktor-app
restart: always
env_file: .env
ports:
- "3333:3000"
volumes:
- tracktor-app-data:/data
volumes:
tracktor-app-data: nullStep 2: Download the example .env file from github
curl -o .env https://raw.githubusercontent.com/javedh-dev/tracktor/main/.env.exampleOR create the .env file and add environement variables as per your requirement.
touch .envYou can check the available environment variables at ENVIRONMENT. Step 3: Start the application using Docker Compose:
docker-compose up -dStep 4: Access the application:
Open http://localhost:3333 in your browser
Note: The
-dflag runs the containers in detached mode.
For a simpler Docker setup without Docker Compose.
- Docker installed on your system
Step 1: Pull the Tracktor Docker image -
docker pull ghcr.io/javedh-dev/tracktor:latestStep 2: Create a persistent volume for data storage -
docker volume create tracktor-app-dataStep 3: (Optional) Create a .env file for environment variables or download as shown here -
touch .envAdd any necessary environment variables as per your requirement.
Step 3: Run the container -
docker run -d --name tracktor -p 3333:3000 -v tracktor-app-data:/data --env-file .env ghcr.io/javedh-dev/tracktor:latestStep 4: Access the application -
Open http://localhost:3333 in your browser
Note: The
-v tracktor-app-data:/dataflag creates a persistent volume for your data.
Install Tracktor directly on your system for more control over the deployment and code transparency.
- Node.js and npm installed
- Git installed
Step 1: Clone the repository and checkout main (stable) branch and navigate into it -
git clone https://github.com/javedh-dev/tracktor.git
git checkout main
cd tracktorStep 2: Install dependencies -
npm installStep 3: (Optional) Create a .env file for environment variables -
touch .envAdd any necessary environment variables as per your requirement. You can check the available environment variables in the Configuration Reference.
Note: Set the
NODE_ENVvariable toproductionin the.envfile for production deployments.
Step 4: Build the application -
npm run build-
Start the application:
npm run start
-
Access the application: Open
http://localhost:3000in your browser
For installing Tracktor in a lightweight LXC container on a Proxmox host.
- Proxmox VE installed and running
- ProxmoxVE Helper Scripts (see ProxmoxVE Helper Scripts)
- At least 1GB free disk space
Step 1: Create a new LXC container using the ProxmoxVE Helper Scripts by running the following command on your Proxmox host.
Reference : ProxmoxVE Helper Scripts - Tracktor LXC
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/tracktor.sh)"For contributors and developers who want to set up a development environment.
Please refer to the Development Setup Guide for detailed instructions.