You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything below is shipped on develop. One binary (mctf) takes a CTF event
repo from scaffolding → validation → build → deploy → platform sync.
Deploy modes (all three shipped)
mctf deploy / mctf down support three modes via deploy.mode in
mctf.config.yml or --mode:
Mode
What it does
docker (default)
docker compose up -d locally. Publishes host ports; Traefik ingress is opt-in (deploy.docker.ingress: traefik). Best for local dev / single machine.
ssh
scp the compose tree to a remote host and run compose over SSH. Supports wait-for-healthy, IdentitiesOnly, key-perm checks, and ProxyJump. For a single VPS.
kubernetes
Generate Deployment/Service/Ingress manifests and kubectl apply. Deterministic NodePorts, pod-security hardening. For a cluster.
Deploys use immutable pinned image tags (built by mctf build), enabling
deterministic deploys and deploy --rollback.
Core workflow
Command
Purpose
mctf init
Scaffold a new event repo
mctf validate
Validate the repo against the MCTF spec
mctf generate
(Re)generate derived files (CTFd manifest, instance.toml, CSV, index.json); --check for CI, --json for tooling
mctf build
Build container images for deployable challenges (--push, --scan)
mctf deploy / mctf down
Bring challenges up / down (--mode, --dry-run, --rollback, --volumes)