{
  "id": "docker-compose-configs-table",
  "kind": "table",
  "slug": "docker-compose-configs",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/docker-compose-configs/",
  "title": "Docker Compose configs - mount config files into services without rebuilding the image",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "file",
      "source": "Docker Compose file reference",
      "detail": "the contents of the file at the specified path"
    },
    {
      "name": "environment",
      "source": "Docker Compose file reference",
      "detail": "the value of an environment variable (Compose 2.23.1+)"
    },
    {
      "name": "content",
      "source": "Docker Compose file reference",
      "detail": "the inlined value, with variables interpolated (Compose 2.23.1+)"
    },
    {
      "name": "external: true",
      "source": "Docker Compose file reference",
      "detail": "a config that has already been created; Compose does not attempt to create it"
    },
    {
      "name": "name",
      "source": "Docker Compose file reference",
      "detail": "sets the object name to look up in the container engine; it is used as is and will not be scoped with the project name."
    }
  ],
  "related_slugs": [
    "docker-compose-secrets",
    "docker-compose-basics",
    "kubernetes-configmaps"
  ],
  "license": "CC-BY-4.0",
  "source_license": "Apache-2.0 (Docker Compose file reference); Apache-2.0 (compose-spec/compose-spec (GitHub)); prose restates cited source lines in own words",
  "as_of": "2026-11-18",
  "status": "fill-draft-20261118",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}