The container factory in Substrate
Describe it. Render it. Run it.
Describe your services once, in YAML. micro‑glue renders the whole production runtime around them (ingress, TLS, monitoring, secrets and backups) the same way on every machine, each environment with its own values. The compose file is the least of what comes out.
mg config generate -c production
docker compose up -d
Two commands, and it is running. This is what our engineers and Substrate run for you.
you write
nginx-microcelium-static:
description: nginx ingress for the Microcelium site.
flag: enable_nginx_microcelium_static
service_template: web-infra/static-site-ingress.service.j2
volume_template: web-infra/static-site-ingress.volume.j2
config/stack.yaml, a real entry
you get
docker-compose.yamlthe least of itstack/traefik/routing · TLS · headersstack/prometheus/ grafana/metrics · alerts · dashboardsservices/*/.envsecrets, by namebackups · restoreson their own schedule
every one describes itself
ours and our customers’
every service runs on one
one idea all along
See it running
A render, start to finish




What comes out
The compose file is the least of it
Here at AxisOps we got tired of compose files that leave the plumbing as an exercise for the reader, so micro‑glue renders the lot from one YAML description.
docker-compose.yaml ← the least of it
services/<svc>/.env one per service
stack/
├── traefik/ static · dynamic · redirects · security headers
├── prometheus/ scrape config · alert rules
├── grafana/ datasources · dashboards
├── alertmanager/ loki/ tempo/ alloy/
├── mysql/init/ init SQL
├── nginx/<site>/ per-site config
├── env/ infrastructure env
└── certs/ tools/
Ingress and TLS, metrics, logs, traces, alerting and dashboards, database init, secrets kept Vault-encrypted in your configuration repository and written into each service's environment only at render time, and backups on their own schedules all render from the same description. None of it can drift from the services it serves.
The parts people get wrong by hand are the ones nobody looks at until something breaks: a mistyped Traefik label that leaves a service unrouted, a security header missed on one site, a health check copied from the wrong service. micro‑glue renders every one of them from a template, so each is written once and a fix there reaches every service on the next render.
stack/ is disposable: delete it and a re-render rebuilds it byte for byte. The images micro‑glue builds are standard OCI images, so they run on any container runtime, Kubernetes included.
Stemcells
No Dockerfiles to write
You describe a service. You do not build an image for it.
the usual way
Dockerfile × 10
docker-compose.yml × 10
.env × 10
traefik labels by hand
monitoring "who set that up?"
with micro-glue
config/stack.yaml
config/environments/production.yaml
mg config generate -c production
Services run on stemcells (phpfpm-nginx, py-stemcell, nodejs-stemcell and friends), configured by role. A stemcell is a hardened base image we build and patch ourselves; there are 7 of them, in PHP, Python and Node.js families, and a service picks one by naming its role. Patching happens in one place, so every machine we build has one provenance.
Your own services ride the same stemcells. We build and patch a customer's application containers through the same process as the platform's own, so theirs and ours share that provenance, and they land in the customer's own registry.
One engine, two ways it runs
A laptop, or a fleet
The same templates serve an engineer running mg on a laptop and an unattended job on the fleet.
laptop
mg config generate -c local
docker compose up
An engineer runs this on a laptop and the fleet runs the identical render unattended. Same bytes either way.
control plane
micro stack compile → .stack.tgz, version-stamped
micro stack deploy-bundle → a fleet machine
Substrate's control plane runs the same render without a human: image references rewritten for the registry, source repositories staged and the lot packaged as a named artefact. Deploy that bundle to a second machine and you know it is the same bytes; the target needs no micro‑glue installed.
Local development runs the same mechanism as production. micro‑glue fills a prepared machine; Substrate builds that machine first.
Go deeper
Where to go next
How it works
Self-describing templates, the merge request as the change, an engine that gets better under load and the lifecycle from first render to verified restore.
Built for software factories
Several estates on one machine, several branches of one estate as slots and everything stamped the same way, with what that makes possible.
Agents
The descriptions that render a stack also answer an assistant over MCP.
The catalogue
193 services, each described by itself and listed from the engine's own sidecars.
Ten years of the same idea
From tidying our own playbooks to building whole platforms
What it is for has not changed since 2016: describe the thing once and render it correctly everywhere it runs.
- 2016A rewrite of an old idea
- 2018Everything builds from stemcells
- 2019Observability, rendered in
- 2022It started building the apps too
- 2025One command for all of it
- 2026The container factory, with a face
Part of Substrate, the Foundation of Microcelium
The container factory of the layer you own
Substrate declares and builds the machine: VMs, networks, firewalls and disks. micro‑glue fills it with services. Above them, Loom runs the intelligence and Prism the experience.
It is part of the Microcelium tooling that builds your application, and what it builds is yours to keep. If it is the shape of thing you need, talk to us.