Portupine logoPortupine
For IT and platform teams

Know exactly what you are being asked to run.

Portupine arrives as source code and Docker configuration: services, a gateway, a web interface and the deployment files. This page is for the team that will operate it.

What you need to run it

These facts come from the product's own deployment files and runbooks.

Install method
Docker Compose, with docker-compose.prod.yml. It needs Docker Compose 2.24 or newer and Docker Buildx, which builds the images.
Kubernetes
Kustomize manifests for the per-service setup are included; there is no Helm chart. They are tested on Docker Desktop Kubernetes and do not yet cover TLS at the edge, backups or monitoring.
Platform
Container images are built for linux/amd64.
Application containers
17: the API gateway, which is the single entry point behind the edge proxy, and 16 services (iam, service-desk, notifications, time-attendance, hr-core, careerpath, messenger, social-feed, performance-reviews, clients, recruitment, time-tracking, billing, project-mgmt, rewards and payroll).
Supporting containers
Caddy as the edge proxy (the only container that publishes ports: 80 and 443), PostgreSQL, Redis, ClamAV and a PostgreSQL backup container. ClamAV scans the uploads of the services that switch it on in docker-compose.prod.yml (recruitment, clients, service-desk, project-mgmt and messenger). One-time containers create the databases and roles and apply the schema migrations before any service starts.
Web interface
A separate Next.js application that talks to the gateway and listens on port 3330. You build and start it next to the stack.
Database
PostgreSQL 16: one instance with one database per service (clients and billing share one). Connections use TLS only.
Cache and job queues
Redis 7, with a password and TLS only, for job queues, rate limiting and caching.
File storage
Uploaded files go to UploadThing in the production example. Local disk on a persistent volume, or S3-compatible object storage, can be used instead.
Outgoing email
An SMTP server. A production start without one fails.
Network
A DNS name that points at the host and open ports 80 and 443. The edge proxy gets and renews its certificate automatically from Let's Encrypt, which checks over both ports.

Backups, upgrades and monitoring

Monitoring
Optional, as a separate Compose project: Prometheus, Loki, Alloy, Tempo, Grafana and Alertmanager, with exporters. Container logs rotate at 3 files of 10 MB, and Loki keeps them for 14 days.
Backup
PostgreSQL is backed up with pgBackRest to an S3-compatible bucket that you provide, encrypted with a passphrase. The log of changes is archived about every minute. A full backup runs on the 1st of each month, a differential on Sundays and an incremental on the other days; 12 full and 4 differential backups are kept. A restore runbook is included.
Keep safe
The backup passphrase, kept off the host, and the at-rest encryption key in .env.secrets. Without the passphrase no backup can be read; a new key stops stored secrets such as authenticator seeds and AI provider keys from being decrypted.
Upgrades
A release is a new set of images with a new version tag, started with the same Compose command. Migration containers apply the pending schema changes before any service starts, and a failed migration stops the deploy.
Rollback
There is no separate rollback procedure: you deploy the last good release again with the same commands. A migration that already ran stays applied unless it is reversed with its own down step.
Interface language
English only.

Single sign-on

Not available yet.

Sign-in today: Company ID, email and password, with optional two-factor authentication from an authenticator app.

How installation works

Five steps, restated from the product's runbooks.

  1. Prepare the configuration

    Copy the three example environment files and replace every placeholder with your own secrets. Each service also takes its own internal key file, made from .env.internal.example.

    cp .env.prod.example .env.prod
    cp .env.db.example .env.db
    cp .env.secrets.example .env.secrets
  2. Build the images

    This builds the base, PostgreSQL and service images from the source you receive.

    docker buildx bake -f docker-bake.hcl
  3. Start the stack

    One-time containers create the databases and roles and apply every schema migration before any service starts.

    docker compose -f docker-compose.prod.yml --env-file .env.prod up -d
  4. Start the web interface

    Build and start the web interface, a Next.js application, with its API address set to your gateway's public address.

  5. Check it and create your first workspace

    Wait until every container is healthy; the migration containers show Exited (0). The database starts empty, so create the first workspace from the sign-up page of the web interface, then sign in.

    docker compose -f docker-compose.prod.yml ps
    curl -sf https://$API_HOST/health/live
Forward this to your IT lead

Opens your email app with a short summary and the link to this page.

What arrives.

The complete source code of the application services, the gateway and the web interface, and the Docker configuration required to build and operate the platform.

One way in.

In production only the edge proxy publishes ports, 80 and 443, and it forwards to the gateway, which denies by default. Role and field-level permissions are enforced there, centrally.

Built to be watched.

Prometheus metrics, health probes, and tracing are built in, so the platform fits the monitoring you already run.

Releases on your schedule.

Updates arrive as versioned releases. Your team applies them in its own maintenance windows and approval process.

Run only what you license.

The platform is built from independent services. You deploy the core and the packs you license.

Authentication you can enforce.

TOTP two-factor authentication with recovery codes, brute-force throttling, active session management with per-device revocation.

AI under your control.

Connect the AI provider you approve, including fully local models via Ollama. If no provider is configured, AI features switch off gracefully.

In the product

Role and permission matrix

Administrators configure role permissions in a per-area access matrix.

demo.portupine.com/system-config/roles

In the product

Filtered security audit log

A searchable audit trail records security-relevant actions with filtering for investigation.

demo.portupine.com/system-config/audit

Working product

Inspect this decision in context.

Open one workspace with fictional data, shared by every visitor, and inspect the areas that matter to this decision.

Explore governance and controls in demo workspaceInspect the working product before you assess infrastructure and policy fit.Open relevant demo

Receive an offer for your size.

Leave your work email and your company size. We will contact you as soon as possible after you send a request.