services:
  api:
    image: registry.example.invalid/example-org/orders:1.4.0
    ports:
      - "8080:8080"

  cache:
    image: registry.example.invalid/example-org/cache:2.1.0

  debug-tools:
    image: registry.example.invalid/example-org/tools:0.4.0
    profiles:
      - debug
    command: ["sleep", "infinity"]

  seed-data:
    image: registry.example.invalid/example-org/orders:1.4.0
    profiles:
      - debug
      - fixtures
    command: ["seed", "--rows", "100"]

  docs:
    image: registry.example.invalid/example-org/docs:1.0.0
    profiles:
      - docs
    ports:
      - "8081:80"
