mirror of
https://github.com/docker/compose.git
synced 2025-08-25 11:38:18 +02:00
If the 'file' key is not set in the extends_options dict then we look for the 'service' from within the same file. Fixes this issue: https://github.com/docker/compose/issues/1237 Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
10 lines
115 B
YAML
10 lines
115 B
YAML
myweb:
|
|
extends:
|
|
service: web
|
|
environment:
|
|
- "BAR=1"
|
|
web:
|
|
image: busybox
|
|
environment:
|
|
- "BAZ=3"
|