Glossary

YAML

YAML (YAML Ain't Markup Language) is a data serialisation format designed for human readability. Less punctuation than JSON; especially popular for configuration files (Docker Compose, GitHub Actions, Kubernetes, Ansible).

Syntax

name: icodelab
version: "1.0"
services:
  - name: web
    port: 80
    env:
      DEBUG: false
      DB_HOST: mysql
tags:
  - php
  - backend

YAML vs JSON

Pitfalls

YAML has the "Norway Problem": some strings are automatically coerced into types. yes/notrue/false; NO (Norway country code) → false. Always quote string values.