# Deprecated root Compose file.
#
# Canonical deployment uses:
#   docker compose -f infra/docker/compose.yml up -d --build
#
# The old root compose path drifted from the production/staging stack and is
# intentionally disabled to prevent accidental deployment of the wrong topology.

services:
  deprecated-root-compose:
    image: alpine:3.20
    command:
      - sh
      - -c
      - >
        echo 'ERROR: root docker-compose.yml is deprecated. Use infra/docker/compose.yml instead.' >&2;
        exit 1
