TractorStackdocs
Docs menu

Docs / Build your stack

Docker Compose

Planned design. TractorStack is in development. This page describes how it is designed to work; nothing here is available to install yet. See the roadmap for the status of each part.

Docker Compose runs a group of containers from one YAML file. In TractorStack it is the runtime for stage 1 and stage 2: one or two hosts, a handful of services, and a team that wants to read the whole setup in one sitting.

Why Compose first

Most small and mid-sized deployments don’t need a cluster scheduler. Compose is easy to debug, needs nothing extra running, and every engineer who has used Docker can follow it. The roadmap moves to Kubernetes only when there is a clear reason, and the Compose files are written so that move is a translation, not a rewrite.

Role in each stage

What the planned files include

Planned configuration

A short planned example of one application service. It is illustrative and not from a release.

# Planned example only: compose/app.yaml
services:
  app:
    image: registry.example.internal/app:1.4.2
    env_file: app.env
    secrets: [db_password]
    networks: [front, data]
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "wget", "-qO-", "http://localhost:8080/healthz"]
      interval: 15s
      retries: 3
networks:
  front: {}
  data: {}
secrets:
  db_password:
    file: ./secrets/db_password

How it maps to Kubernetes later

ComposeKubernetes
serviceDeployment plus Service
healthcheckreadiness and liveness probes
env_fileConfigMap
secretsSecret
networksNetworkPolicy
restart policyhandled by the controller

This only works cleanly if the app follows the Kubernetes-ready rules from day one, above all keeping no state on local disk and reading the same variable names in both places. See moving between stages.

What stays yours

Limits and caveats

Last updated 25 October 2026 · Questions or corrections: sales@infratractor.com