Recipes
Pattern-level building blocks. Each one is a small set of changes that solve a single authoring question.
For each recipe, the Reference section has a full skill file with the exact YAML. This page is an index: pick the recipe that matches your need and follow the link.
Routing & exposure
- Replace
ports:with theportlabel: Compose port publishing →fibe.gg/port+fibe.gg/visibilityHTTPS routing. - Pick a subdomain: set the host label; use
@for the root. - Share a subdomain with a path rule: several services, one subdomain.
Source & build
- Convert
build:to repo labels: Compose builds → Fibe dynamic services. - Live source mount: dev-mode templates with hot reload.
- Build args & targets: multi-stage builds, custom build args.
- Env file pointer: tell Fibe which env example file to read.
Variables & secrets
- Lift Compose
${VAR}: turn Compose interpolations into Fibe variables. - Inline a variable into a string:
$$var__NAMEin URLs, tags, partial strings. - Bind a whole node with a path:
path:/paths:for whole values. - Generate & mark sensitive:
random: truefor launch-unique secrets.
Compose hygiene
- Strip incompatible keys: what to remove.
- Use named volumes: for persistent data.
- Order with
depends_on: start services in the right order. - Share with anchors: YAML anchors for repeated config.
- Inline config files:
configs:for small init scripts. - Fill in metadata: description, category, source_defaults.
Scaling & healthchecks
- Healthcheck labels for rolling updates: the five healthcheck labels.
Related
- App playbooks: end-to-end conversions by app shape.
- Compose → Fibe: the conversion flow.