services:
  base:
    image: base

  another:
    extends: base

  with-port:
    ports:
      - 8000:8000

  withUlimits:
    image: test
    ulimits:
      nproc: 65535
      nofile:
        soft: 20000
        hard: 40000

  with-build:
    extends:
      file: sibling.yaml
      service: test

  nil: #left intentionally empty
