Installation
TruePPM ships as pre-built Docker images on the GitLab Container Registry (registry.gitlab.com/trueppm/trueppm/{api,web}) and a Python package on PyPI. GHCR mirrors are planned as part of the 0.4 supply-chain work. Pick the path that fits your environment:
| Path | Best for |
|---|---|
| Docker Compose | Evaluation, development, contributors |
| Helm / Kubernetes | Production, horizontal scaling |
| Single server | Production without Kubernetes |
| Scheduler library | Embedding the CPM engine in your own app |
Docker Compose
Section titled “Docker Compose”The fastest way to run TruePPM locally. All six services start from a single command.
Prerequisites
Section titled “Prerequisites”| Tool | Minimum version |
|---|---|
| Docker + Docker Compose | 24+ |
| Git | any recent |
git clone https://gitlab.com/trueppm/trueppm.gitcd trueppmdocker compose up -dWait for all services to be healthy (usually 15–20 seconds), then open the web UI at http://localhost:5173.
Services started:
| Service | Port | Purpose |
|---|---|---|
db | 5432 | PostgreSQL 16 |
valkey | 6379 | Celery broker + Django Channels layer (BSD-licensed Redis fork; wire-compatible) |
api | 8000 | Django ASGI (uvicorn) |
celery | — | CPM auto-scheduling worker |
celery-beat | — | Periodic task runner |
web | 5173 | React frontend |
Migrations run automatically on first startup. The create_admin management command generates a secure random password and writes it to /tmp/trueppm_admin_password:
docker compose exec api cat /tmp/trueppm_admin_passworddocker compose exec api rm /tmp/trueppm_admin_password # delete after retrievalLoad demo data (optional)
Section titled “Load demo data (optional)”The quickest way to see TruePPM with realistic data is the in-app Load demo data button on the Programs page. It imports the Atlas Platform Launch sample — a hybrid program with a live sprint-to-milestone bridge, anchor-relative dates, and replayed history, so the demo always reads as current rather than aging into a fixed-date snapshot. If more than one sample is bundled, the button opens a picker.
Prefer the command line, or want the six persona logins used in the per-persona walkthrough? Seed the “Platform Migration” demo instead:
docker compose exec api python manage.py seed_demo_project --with-personasCreates a “Platform Migration” project with eight closed sprints, an active sprint, baselines, resources, a retro, and six persona logins. The persona password is demo only when the API runs with DEBUG=True; on a production install (DEBUG=False) the command prints a one-time random password at the end of its output unless you set TRUEPPM_DEMO_PASSWORD — see seed_demo_project. The bundled samples can also be loaded from the CLI with load_sample_project --sample atlas-platform-launch (see management commands).
Verify
Section titled “Verify”curl http://localhost:8000/api/v1/health/# → {"status": "ok"}The OpenAPI schema is at http://localhost:8000/api/schema/swagger-ui/.
Helm / Kubernetes
Section titled “Helm / Kubernetes”Use the Helm chart to deploy TruePPM on any Kubernetes cluster (kind, k3s, EKS, GKE, AKS, or bare-metal).
Prerequisites
Section titled “Prerequisites”| Tool | Minimum version |
|---|---|
| Helm | 3.14+ |
| kubectl | any compatible with your cluster |
| A running Kubernetes cluster | 1.27+ |
Get the chart
Section titled “Get the chart”Public OCI publication of the chart (GHCR) is planned; today the release pipeline pushes to GHCR only when optional GHCR credentials are configured. Until the public registry is live, install from the chart source in the repository:
git clone https://gitlab.com/trueppm/trueppm.gitcd trueppmhelm dependency update packages/helmPrepare your values file
Section titled “Prepare your values file”Download the production values template and fill in your settings:
curl -sL https://gitlab.com/trueppm/trueppm/-/raw/main/packages/helm/values-prod.yaml \ -o my-values.yamlAt minimum, set:
env: SECRET_KEY: "<50+ character random string>" ALLOWED_HOSTS: "trueppm.example.com"
# Recommended for production: disable the bundled datastores and point at managed# services. When they are disabled, env.DATABASE_URL and env.REDIS_URL are# REQUIRED — the chart fails the render with a clear message if either is missing.postgresql: enabled: falsevalkey: enabled: false# env:# DATABASE_URL: "postgres://trueppm:<password>@<host>:5432/trueppm"# REDIS_URL: "redis://:<password>@<host>:6379"Install
Section titled “Install”helm install trueppm packages/helm \ --namespace trueppm \ --create-namespace \ -f my-values.yamlOnce the chart is published to a public OCI registry, the same install will work
with helm install trueppm oci://ghcr.io/trueppm/charts/trueppm --version <version>.
For real secrets, prefer injecting SECRET_KEY / DATABASE_URL / REDIS_URL
via an external Kubernetes Secret over putting them in my-values.yaml or
--set.
Post-install
Section titled “Post-install”Migrations run automatically in an init container. Retrieve the generated admin password from the pod:
kubectl exec -n trueppm deployment/trueppm-api -- \ cat /run/trueppm/admin_passwordWhen using the bundled PostgreSQL, retrieve the generated database password from the chart-owned connection Secret:
kubectl get secret trueppm-trueppm-connection -n trueppm \ -o jsonpath='{.data.POSTGRES_PASSWORD}' | base64 -dVerify
Section titled “Verify”kubectl get pods -n trueppm# All pods should be Running / CompletedSingle-server with Docker Compose
Section titled “Single-server with Docker Compose”For production on a single Linux server without Kubernetes. Uses the pre-built release images, managed by systemd.
Prerequisites
Section titled “Prerequisites”- A Linux server (Ubuntu 22.04+ or Debian 12+)
- Docker 24+ and Docker Compose plugin
- A domain name pointing to the server’s public IP
- Ports 80 and 443 open
git clone https://gitlab.com/trueppm/trueppm.gitcd trueppmcp .env.example .envEdit .env and fill in all required values:
# Required minimums — see .env.example for full listDOMAIN=trueppm.example.comTLS_MODE=letsencryptCERTBOT_EMAIL=ops@example.comSECRET_KEY=$(python3 -c "import secrets; print(secrets.token_urlsafe(50))")DB_PASSWORD=$(python3 -c "import secrets; print(secrets.token_urlsafe(24))")REDIS_PASSWORD=$(python3 -c "import secrets; print(secrets.token_urlsafe(24))")APP_VERSION=0.2.0Run the one-time setup (obtains a TLS certificate and starts the stack):
chmod +x init-prod.sh./init-prod.shRetrieve the admin password:
docker compose -f docker-compose.prod.yml exec api \ cat /run/trueppm/admin_passwordsystemd auto-start
Section titled “systemd auto-start”Create /etc/systemd/system/trueppm.service:
[Unit]Description=TruePPMRequires=docker.serviceAfter=docker.service network-online.target
[Service]Type=oneshotRemainAfterExit=yesWorkingDirectory=/opt/trueppmEnvironmentFile=/opt/trueppm/.envExecStart=/usr/bin/docker compose -f docker-compose.prod.yml up -dExecStop=/usr/bin/docker compose -f docker-compose.prod.yml downTimeoutStartSec=120
[Install]WantedBy=multi-user.targetsudo systemctl daemon-reloadsudo systemctl enable --now trueppmScheduler library only
Section titled “Scheduler library only”If you only need the CPM scheduling engine in your own Python application:
pip install trueppm-schedulerfrom datetime import date, timedeltafrom trueppm_scheduler import schedule, Calendar, Project, Task, Dependency, DependencyType
calendar = Calendar() # Mon–Fri working daysproject = Project( id="p-1", name="My Project", start_date=date(2026, 1, 5), tasks=[ Task(id="t-1", name="Design", duration=timedelta(days=5)), Task(id="t-2", name="Build", duration=timedelta(days=10)), ], dependencies=[ Dependency(predecessor_id="t-1", successor_id="t-2", dep_type=DependencyType.FS), ], calendar=calendar,)result = schedule(project)print(result.tasks[1].early_finish) # 2026-01-23See the Scheduler integration guide for full API reference.
Environment variables
Section titled “Environment variables”| Variable | Required | Description |
|---|---|---|
SECRET_KEY | Yes | Django secret key — 50+ character random string |
DATABASE_URL | Yes | postgres://user:password@host:5432/dbname |
REDIS_URL | Yes | redis://:password@host:6379 (Valkey accepts the redis:// scheme) |
DJANGO_SETTINGS_MODULE | Yes (prod) | trueppm_api.settings.prod |
ALLOWED_HOSTS | Yes | Comma-separated list of allowed hostnames |
DOMAIN | Single-server | Public hostname, used by nginx and certbot |
TLS_MODE | Single-server | letsencrypt | selfsigned | none |
For all configuration options, see Configuration.