myweb:
extends:
file: specify-file-as-self.yml
service: web
environment:
- "BAR=1"
web:
service: otherweb
image: busybox
- "BAZ=3"
otherweb:
- "YEP=1"