Reference

bytstack.yaml reference

Schema reference for Blueprint apiVersion bytstack.dev/v1alpha1.

bytstack.yaml reference

Canonical file: repository-root bytstack.yaml or bytstack.yml (max 256 KiB).

For a full worked example, see the Blueprint guide.

Skeleton

apiVersion: bytstack.dev/v1alpha1
kind: Blueprint
metadata:
  name: my-stack
spec:
  defaults:
    runtime: nodejs
    nodeVersion: "22"
    branch: main
    autoDeploy: true
  services: []
  databases: []
  redis: []
  buckets: []
  envGroups: []
  environments: []

Service fields

FieldNotes
logicalKeyRequired; ^[a-z][a-z0-9-]{0,63}$
typeweb | static | worker | cron
platformHostnameOptional exact DNS label under the platform zone (e.g. templates). Omit → claim-or-suffix from name/env. When set, apply claims exactly (fails if taken/reserved/invalid). Changing it renames with a 30-day redirect.
build.strategydockerfile | nixless
build.dockerfilePathPath when strategy is dockerfile (defaults to Dockerfile)
buildMachineTierstandard (8 GB) | performance (16 GB). Build machine for image builds, applied from the next deploy. performance bills at 4× the build-minute rate and needs the workspace and service on Starter or Pro. Omit to keep the current setting (standard for a new service). Not allowed on static services, which always build on Standard: apply rejects performance for them.
nativeDependenciesOptional true or false. When true, generated Node image builds allow native npm install scripts and use a heavier build stage; omitted or false keeps today’s default. Not allowed on static services or when build.dockerfilePath is set (BYO Dockerfile). Applies from the next deploy. See Native dependencies.
env.keys / env.fromGroupsNames only — no secret values

Overlays

Optional per-environment file: bytstack.<slug>.yaml (for example bytstack.staging.yaml). It merges onto the base Blueprint by logicalKey for services, databases, Redis, and buckets. Do not commit bytstack.override.yaml for auto-apply — keep local-only overrides out of git if you use that filename.

bytstack.yaml reference — Bytstack Docs