Merge pull request #4419 from shin-/4418-healthcheck-extends
Don't re-parse healthcheck values coming from extended services
This commit is contained in:
commit
951497c0f2
4 changed files with 36 additions and 2 deletions
9
tests/fixtures/extends/healthcheck-1.yml
vendored
Normal file
9
tests/fixtures/extends/healthcheck-1.yml
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
version: '2.1'
|
||||
services:
|
||||
demo:
|
||||
image: foobar:latest
|
||||
healthcheck:
|
||||
test: ["CMD", "/health.sh"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 36
|
||||
6
tests/fixtures/extends/healthcheck-2.yml
vendored
Normal file
6
tests/fixtures/extends/healthcheck-2.yml
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
version: '2.1'
|
||||
services:
|
||||
demo:
|
||||
extends:
|
||||
file: healthcheck-1.yml
|
||||
service: demo
|
||||
Loading…
Add table
Add a link
Reference in a new issue