Allow to extend service using shorthand notation. Closes #1989
Signed-off-by: Karol Duleba <mr.fuxi@gmail.com>
This commit is contained in:
parent
03ae2462d4
commit
91b227d133
4 changed files with 56 additions and 10 deletions
15
tests/fixtures/extends/verbose-and-shorthand.yml
vendored
Normal file
15
tests/fixtures/extends/verbose-and-shorthand.yml
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
base:
|
||||
image: busybox
|
||||
environment:
|
||||
- "BAR=1"
|
||||
|
||||
verbose:
|
||||
extends:
|
||||
service: base
|
||||
environment:
|
||||
- "FOO=1"
|
||||
|
||||
shorthand:
|
||||
extends: base
|
||||
environment:
|
||||
- "FOO=2"
|
||||
Loading…
Add table
Add a link
Reference in a new issue