Configuration, explained

Understand what Compose will run.

Resolve environment variables, file paths and port mappings with small examples and results you can inspect.

Configuration checks on Compose 5.3.0

compose.yaml→ config
services:
  probe:
    image: busybox:${CC_IMAGE_TAG}
    environment:
      CC_ONLY: ${CC_ONLY:?Set CC_ONLY}
CC_ONLY: not-automatically-injectedA variable is passed when you assign it.

The starting library

Start with the symptom.

Each guide includes a minimal example, the observed result and the limits of the test.

Browser tool

Host 8080. Container 80.

See what each number changes. Generate a YAML fragment for IPv4, IPv6, TCP or UDP.

Open the Port Mapping Explorer →
Host8080
Container80
16 model checks · 12 Sep 2026 · no containers startedInspect the evidence