Description
What is missing?
> docker compose up -d
yaml: line 2: did not find expected key
This error message should specify the errornous file.
In my personal project I have 6 compose.yaml files and I had to check all files just to find this indentation error.
For larger project this could become worse.
How to reproduce
compose.yaml
include:
- ./test/compose.yaml
test/compose.yaml
services:
my-service:
image: alpine # important comment
ports: # indentation error
- 8080:8080 # AIO admin interface